From 1df970a1fb788b348b8457f8a3c236c01b211669 Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Fri, 17 Jun 2016 10:41:23 +0200 Subject: [PATCH] [EDF-13129&13127&13128] omniNames process not killed. When running "salome test" on "salomeintegration2" machine, sometimes, several YACS tests hang on, because the process "omniNames" is not killed. This commit fixes the issue. Further work should be done in order to deal with concurrency when writing to the file "*pidict" which contains the pids of the servers created when launching salome. --- bin/killSalomeWithPort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/killSalomeWithPort.py b/bin/killSalomeWithPort.py index d95a6fe2b..9670329bf 100755 --- a/bin/killSalomeWithPort.py +++ b/bin/killSalomeWithPort.py @@ -311,7 +311,7 @@ def killMyPort(port): # try to shutdown session normally import threading, time - threading.Thread(target=shutdownMyPort, args=(port,False)).start() + threading.Thread(target=shutdownMyPort, args=(port,True)).start() time.sleep(3) # wait a little, then kill processes (should be done if shutdown procedure hangs up) try: -- 2.39.2