mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-06-04 12:27:40 +00:00
Improve tests
This commit is contained in:
parent
1bef51d878
commit
d0ae9f3296
85 changed files with 77 additions and 44 deletions
10
tests/api_wait_end_3n/node.py
Normal file
10
tests/api_wait_end_3n/node.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
def execute(api):
|
||||
wait=api.node_id
|
||||
api.log("Before wait for "+str(wait)+"s")
|
||||
api.wait(wait) # Since 3 nodes max(wait)==2
|
||||
|
||||
# Ensure that wait end return back when simulation ends
|
||||
api.wait_end()
|
||||
api.log("Terminated")
|
Loading…
Add table
Add a link
Reference in a new issue