diff options
Diffstat (limited to 'tests/simple_send_eth0_3s1r/receiver.py')
| -rw-r--r-- | tests/simple_send_eth0_3s1r/receiver.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/simple_send_eth0_3s1r/receiver.py b/tests/simple_send_eth0_3s1r/receiver.py deleted file mode 100644 index 4516d7a..0000000 --- a/tests/simple_send_eth0_3s1r/receiver.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python - -def receive(node, n): - for i in range(0,n): - code, data=node.receive("eth0") - msg="Received: "+data if code == 0 else "Receive failed code="+str(code) - node.log(msg) - -def execute(api): - # Receive the first 3 send that should end at 3s - receive(api,3) - # Receive the first 3 send that should end at 7s - receive(api,3) - # Receive the first 3 send that should end at 12s - receive(api,3) - # Receive the first 3 send that should end at 18s - receive(api,3) - # Should ends at 23s - receive(api,1) |
