Skip to content
Snippets Groups Projects
Commit 21471b79 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Fix Bug#1196939 "Test engine kills all processes in some cases"

parent 329fc30e
No related branches found
No related tags found
No related merge requests found
......@@ -226,7 +226,9 @@ class Server(object):
return
# kill process
os.kill(self.read_pidfile(), signal.SIGTERM)
pid = self.read_pidfile();
if pid != -1:
os.kill(pid, signal.SIGTERM)
#self.process.kill(signal.SIGTERM)
if self.gdb or self.valgrind:
self.process.expect(pexpect.EOF, timeout = 1 << 30)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment