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
b1b59d5fe6
commit
988237bbd5
3 changed files with 20 additions and 7 deletions
|
@ -4,7 +4,8 @@ def execute(api):
|
|||
wait=api.node_id
|
||||
api.log("Before wait for "+str(wait)+"s")
|
||||
api.wait(wait) # Since 3 nodes max(wait)==2
|
||||
|
||||
api.log("First wait end")
|
||||
|
||||
# Ensure that wait end return back when simulation ends
|
||||
api.wait_end()
|
||||
api.log("Terminated")
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
[t=0.000,src=n0] Before wait for 0s
|
||||
[t=0.000,src=n0] First wait end
|
||||
[t=0.000,src=n1] Before wait for 1s
|
||||
[t=0.000,src=n2] Before wait for 2s
|
||||
[t=1.000,src=n1] First wait end
|
||||
[t=2.000,src=n2] First wait end
|
||||
[t=2.000,src=n0] Terminated
|
||||
[t=2.000,src=n1] Terminated
|
||||
[t=2.000,src=n2] Terminated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue