From: Ovidiu Mircescu Date: Fri, 17 Jun 2016 08:41:23 +0000 (+0200) Subject: [EDF-13129&13127&13128] omniNames process not killed. X-Git-Tag: V8_1_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1df970a1fb788b348b8457f8a3c236c01b211669;p=modules%2Fkernel.git [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. --- 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: