esds/tests/api_wait_end_3n/node.py
2022-06-30 12:11:59 +02:00

10 lines
262 B
Python

#!/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")