From 415f67418c510aa98a78883a1957a138c7313880 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 2 Sep 2023 08:14:53 -0700 Subject: Fix tests --- tools/test-generator.py | 2 +- tools/test-integration.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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): -- cgit v1.2.3