summaryrefslogtreecommitdiff
path: root/tests/api_send_eth0_1s1r/sender.py
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-07-01 18:12:28 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2022-07-01 18:12:28 +0200
commit18c705a11efec6c67e07981ae0f55727cbd47f4d (patch)
treebb55d756d30011c90080be124ba89ffac0fc8b19 /tests/api_send_eth0_1s1r/sender.py
parent33ffa0b6e0af5e2f658d9d12d0347ea57edc97a7 (diff)
Debug wired communications when receiver is off.
Diffstat (limited to 'tests/api_send_eth0_1s1r/sender.py')
-rw-r--r--tests/api_send_eth0_1s1r/sender.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/api_send_eth0_1s1r/sender.py b/tests/api_send_eth0_1s1r/sender.py
index 64293da..8abb5e7 100644
--- a/tests/api_send_eth0_1s1r/sender.py
+++ b/tests/api_send_eth0_1s1r/sender.py
@@ -5,4 +5,6 @@ def execute(api):
api.send("eth0","Hello World!",1,1)
api.wait(1) # Goto t=3s
api.send("eth0","Hello World!",15,1) # Communication should not be aborted even if receiver turned_off (e.g UDP)
- api.log("End") # Should be printed at t=18s \ No newline at end of file
+ api.log("End transmission") # Should be printed at t=18s
+ api.send("eth0","Hello World!",15,1) # Now receiver is off
+ api.log("End transmission") # Should be printed at t=33s \ No newline at end of file