From e0dbebe31d4288f3636ef3871f45429b86b1d737 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Thu, 14 Jul 2022 14:07:52 +0200 Subject: Go back to commit 1eee1ac8 --- tests/api_send_eth0_1s1r/sender.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/api_send_eth0_1s1r/sender.py') 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) -- cgit v1.2.3