Skip to content

Commit

Permalink
test: fix test script to avoid error if simulation can't be stopped
Browse files Browse the repository at this point in the history
  • Loading branch information
mchitre committed Jul 14, 2020
1 parent 9e04f65 commit ba98934
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ finally
# stop simulator

println("Stopping 2-node simulation...")
run(`bash sim.sh stop`)
p = run(`bash sim.sh stop`; wait=false)
sleep(1)
success(p) || println("Could not stop!")

end

2 comments on commit ba98934

@mchitre
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/17911

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" ba989343f245cd770356df0028e6a766296f8786
git push origin v0.1.0

Please sign in to comment.