From b720ba78113209259bcb9a2ec705ba63f1da3c84 Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 17 Apr 2024 23:29:59 +0800 Subject: [PATCH] fix: add one more second to messages with delay --- tests/relay/test_rln.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/relay/test_rln.py b/tests/relay/test_rln.py index 08ebd1d0..e41a56b8 100644 --- a/tests/relay/test_rln.py +++ b/tests/relay/test_rln.py @@ -49,7 +49,7 @@ class TestRelayRLN(StepsRLN, StepsRelay): message = self.create_message(payload=to_base64(payload["value"])) try: if i % 2 == 1: # every sample with odd index is sent slowly - delay(self.epoch_time) + delay(self.epoch_time + 1) now = math.trunc(time()) logger.debug(f"Message sent at timestamp {now}") self.publish_message(message)