esds/tests/api_wait_end_3n/node.py

11 lines
262 B
Python
Raw 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
# Ensure that wait end return back when simulation ends
api.wait_end()
api.log("Terminated")