diff options
author | Anton Tananaev <anton@traccar.org> | 2023-09-02 08:14:53 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-09-02 08:14:53 -0700 |
commit | 415f67418c510aa98a78883a1957a138c7313880 (patch) | |
tree | 21a2cea6ee2c85377814d6d2e2a3db9ea979f893 | |
parent | e8285fd4ea640ca24e2250fe124e61ab80a8adc4 (diff) | |
download | trackermap-server-415f67418c510aa98a78883a1957a138c7313880.tar.gz trackermap-server-415f67418c510aa98a78883a1957a138c7313880.tar.bz2 trackermap-server-415f67418c510aa98a78883a1957a138c7313880.zip |
Fix tests
-rwxr-xr-x | tools/test-generator.py | 2 | ||||
-rwxr-xr-x | tools/test-integration.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/test-generator.py b/tools/test-generator.py index 20cecccf1..ed135b4aa 100755 --- a/tools/test-generator.py +++ b/tools/test-generator.py @@ -8,7 +8,7 @@ import time import random id = '123456789012345' -server = '49.13.29.182:5055' +server = 'localhost:5055' period = 1 step = 0.001 device_speed = 40 diff --git a/tools/test-integration.py b/tools/test-integration.py index 204fecb70..f31ad7a82 100755 --- a/tools/test-integration.py +++ b/tools/test-integration.py @@ -179,7 +179,7 @@ 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(0.5) + time.sleep(1.0) s.close() def get_protocols(cookie, device_id): |