mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-19 03:59:45 +00:00
Improve tests
This commit is contained in:
parent
1bef51d878
commit
d0ae9f3296
85 changed files with 77 additions and 44 deletions
9
tests/api_read_eth0_ncom_2s1r/sender.py
Normal file
9
tests/api_read_eth0_ncom_2s1r/sender.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
def execute(api):
|
||||
api.wait(1248) # All communications start at t=1248s
|
||||
if api.node_id==0:
|
||||
api.send("eth0","hello",50,2)
|
||||
else:
|
||||
api.wait(1) # Second sender start 1s after the first
|
||||
api.send("eth0","hello",50,2)
|
Loading…
Add table
Add a link
Reference in a new issue