diff options
Diffstat (limited to 'tests/api_send_eth0_1s1r/sender.py')
| -rw-r--r-- | tests/api_send_eth0_1s1r/sender.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/api_send_eth0_1s1r/sender.py b/tests/api_send_eth0_1s1r/sender.py index 8abb5e7..c62625b 100644 --- a/tests/api_send_eth0_1s1r/sender.py +++ b/tests/api_send_eth0_1s1r/sender.py @@ -6,5 +6,7 @@ def execute(api): 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 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 + api.send("eth0","Hello World!",15,1) # Now receiver is off (but send should continue) + api.log("End transmission") # Should be printed at t=33s + api.send("eth0","Hello World!",15,1,receiver_required=True) # Now receiver is off and send should be interrupted + api.log("End transmission") # Should be printed at t=35s (receiver turned off at t=35s) |
