aboutsummaryrefslogtreecommitdiff
path: root/tools/test-integration.py
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-07-28 13:15:14 -0700
committerAnton Tananaev <anton@traccar.org>2024-07-28 13:15:14 -0700
commit2c8945caa5eb32e4d7399bbe140d3f911d49fed3 (patch)
treeac2cfd6b36c81d776e7c727403315157afdc1403 /tools/test-integration.py
parent02bfa8faaa52c3de26154e3b948df7ec08933991 (diff)
downloadtrackermap-server-2c8945caa5eb32e4d7399bbe140d3f911d49fed3.tar.gz
trackermap-server-2c8945caa5eb32e4d7399bbe140d3f911d49fed3.tar.bz2
trackermap-server-2c8945caa5eb32e4d7399bbe140d3f911d49fed3.zip
Improve integration tests
Diffstat (limited to 'tools/test-integration.py')
-rwxr-xr-xtools/test-integration.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/test-integration.py b/tools/test-integration.py
index 29c741390..0dfa78f43 100755
--- a/tools/test-integration.py
+++ b/tools/test-integration.py
@@ -180,8 +180,9 @@ def send_message(port, message):
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(('127.0.0.1', port))
s.send(message.encode('ascii'))
- time.sleep(1.0)
+ time.sleep(0.5)
s.close()
+ time.sleep(0.5)
def get_protocols(cookie, device_id):
params = { 'deviceId' : device_id, 'from' : '2000-01-01T00:00:00.000Z', 'to' : '2050-01-01T00:00:00.000Z' }