summaryrefslogtreecommitdiff
path: root/attic/big-http-test/big-test-kill.sh
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-01-06 11:06:47 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-01-06 11:06:47 -0800
commit0a3ef38cade03c9b6a4f94611bd3df620ce1f4e6 (patch)
treefeaa8fb701c0822ec43afafc4deb156f4c76bd96 /attic/big-http-test/big-test-kill.sh
parent9aee72099e518636acb243237042049c50dcf483 (diff)
downloadinfinitytier-0a3ef38cade03c9b6a4f94611bd3df620ce1f4e6.tar.gz
infinitytier-0a3ef38cade03c9b6a4f94611bd3df620ce1f4e6.zip
Put old test code in attic.
Diffstat (limited to 'attic/big-http-test/big-test-kill.sh')
-rwxr-xr-xattic/big-http-test/big-test-kill.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/attic/big-http-test/big-test-kill.sh b/attic/big-http-test/big-test-kill.sh
new file mode 100755
index 00000000..fa7f3cc4
--- /dev/null
+++ b/attic/big-http-test/big-test-kill.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Kills all running Docker containers on all big-test-hosts
+
+export PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/sbin
+
+pssh -h big-test-hosts -x '-t -t' -i -OUserKnownHostsFile=/dev/null -OStrictHostKeyChecking=no -t 0 -p 256 "sudo docker ps -aq | xargs -r sudo docker rm -f"
+
+exit 0