mirror of https://github.com/docker/docs.git
Merge pull request #2184 from legal90/fix-integration-tests
test/integration: Remove machine forcibly, without stopping
This commit is contained in:
commit
d07e4e259a
|
@ -15,8 +15,7 @@ function quiet_run () {
|
|||
|
||||
function cleanup_machines() {
|
||||
if [[ $(machine ls -q | wc -l) -ne 0 ]]; then
|
||||
quiet_run machine stop $(machine ls -q)
|
||||
quiet_run machine rm $(machine ls -q)
|
||||
quiet_run machine rm -f $(machine ls -q)
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue