esds/tests/api_wait_end_3n/node.py

12 lines
296 B
Python
Raw Permalink Normal View History

2022-06-09 21:48:32 +02:00
#!/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
2022-07-02 10:38:11 +02:00
api.log("First wait end")
2022-06-09 21:48:32 +02:00
# Ensure that wait end return back when simulation ends
api.wait_end()
api.log("Terminated")