diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-06-29 11:19:36 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-06-29 11:19:36 +0200 |
| commit | 1bef51d87860f782f687533012167bebb43c093d (patch) | |
| tree | 3c1e8160eadd3b7e5d314d9b1759486783544531 /tests/simple_send_eth0_3s1r/sender.py | |
| parent | be6d819080fc6c4dccd5b7e56d1da6a1ab930d4f (diff) | |
Debug event processing
Diffstat (limited to 'tests/simple_send_eth0_3s1r/sender.py')
| -rw-r--r-- | tests/simple_send_eth0_3s1r/sender.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |
