Browse code

Merge pull request #756 from deads2k/deads-really-kill-openshift

Merged by openshift-bot

OpenShift Bot authored on 2015/01/28 05:58:34
Showing 1 changed files
... ...
@@ -91,7 +91,7 @@ function cleanup()
91 91
   if [ "$SKIP_TEARDOWN" != "1" ]; then
92 92
     set +e
93 93
     echo "[INFO] Tearing down test"
94
-    stop_openshift_server
94
+    pkill -P $$
95 95
     echo "[INFO] Stopping docker containers"; docker ps -aq | xargs -l -r docker stop
96 96
     set +u
97 97
     if [ "$SKIP_IMAGE_CLEANUP" != "1" ]; then
... ...
@@ -107,7 +107,6 @@ function cleanup()
107 107
   find ${ARTIFACT_DIR} -size +20M -exec echo Deleting {} because it is too big. \; -exec rm -f {} \;
108 108
   find ${LOG_DIR} -size +20M -exec echo Deleting {} because it is too big. \; -exec rm -f {} \;
109 109
 
110
-  pkill -P $$
111 110
   echo "[INFO] Exiting"
112 111
   exit $out
113 112
 }