From 1bef51d87860f782f687533012167bebb43c093d Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 29 Jun 2022 11:19:36 +0200 Subject: Debug event processing --- tests/simple_send_eth0_3s1r/sender.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/simple_send_eth0_3s1r/sender.py') diff --git a/tests/simple_send_eth0_3s1r/sender.py b/tests/simple_send_eth0_3s1r/sender.py index d3c7bf2..6b8312b 100644 --- a/tests/simple_send_eth0_3s1r/sender.py +++ b/tests/simple_send_eth0_3s1r/sender.py @@ -8,14 +8,14 @@ def execute(api): # These send should start at 3s and be completed at 7s if api.node_id==0: - api.send("eth0","Hello World from {}!".format(api.node_id),2,3) # Should lasts 3s + 1s = 4s + api.send("eth0","Hello World (2bytes) from {}!".format(api.node_id),2,3) # Should lasts 3s + 1s = 4s else: api.send("eth0","Hello World from {}!".format(api.node_id),1,3) # Should lasts 3s api.wait(1) # Sync with node 0 at 7s # Those sends should start at 7s and be completed at 12s if api.node_id<=1: - api.send("eth0","Hello World from {}!".format(api.node_id),2,3) # Should last 3s + 2s = 5s + api.send("eth0","Hello World (2bytes) from {}!".format(api.node_id),2,3) # Should last 3s + 2s = 5s # Completed at 12s since 3 nodes are sharing the bandwidth up to 10s # then the 2 two remaining node send their last byte up to 12s else: -- cgit v1.2.3