summaryrefslogtreecommitdiff
path: root/js/test/Common/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'js/test/Common/run.py')
-rwxr-xr-xjs/test/Common/run.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/js/test/Common/run.py b/js/test/Common/run.py
index a0975bf303f..974fb085470 100755
--- a/js/test/Common/run.py
+++ b/js/test/Common/run.py
@@ -41,7 +41,7 @@ if "NODE" in os.environ:
else:
for path in os.environ["PATH"].split(os.pathsep):
#
- # Stop if we find "php" in the PATH first.
+ # Stop if we find "node" in the PATH first.
#
if os.path.exists(os.path.join(path, "node")):
break
@@ -65,6 +65,9 @@ class ServerI(Test.Server):
current.adapter.remove(current.id)
except:
pass
+ # Stop the WatchDog thread since we may not run any more tests
+ # for an extended period of time
+ TestUtil.stopWatchDog()
print("ok")
def terminate(self, current):
@@ -78,6 +81,9 @@ class ServerI(Test.Server):
current.adapter.remove(current.id)
except:
pass
+ # Stop the WatchDog thread since we may not run any more tests
+ # for an extended period of time
+ TestUtil.stopWatchDog()
print("ok")
class ControllerI(Test.Controller):