Remove plugin-connected containers before end of test, to avoid delaying later cleanup.

Also use a shorter sequence to exclude the plugin when removing other containers.
This commit is contained in:
Bryan Boreham committed 2016-04-26 15:42:35 +01:00
1 parent a5739e8753
commit 0e655a2bbd
4 files changed
+8 -3

No files matched your search

+3
View File
@@ -18,4 +18,7 @@ start_container_local_plugin $HOST2 --name=c2 --hostname=$C2_NAME --dns=$DNS_IP
assert_raises "exec_on $HOST1 c1 $PING $C2_NAME"
assert_raises "exec_on $HOST2 c2 $PING $C1_NAME"
docker_on $HOST1 rm -f c1
docker_on $HOST2 rm -f c2
end_suite