mirror of
https://github.com/searxng/searxng.git
synced 2024-12-22 01:06:29 +00:00
[fix] robot test - kill the only subprocess
This commit is contained in:
parent
93fd1e4c76
commit
f1fc315318
1 changed files with 1 additions and 3 deletions
|
@ -56,9 +56,7 @@ class SearxRobotLayer(Layer):
|
|||
)
|
||||
|
||||
def tearDown(self):
|
||||
# send TERM signal to all processes in my group, to stop subprocesses
|
||||
os.killpg(os.getpgid(self.server.pid), 15)
|
||||
|
||||
os.kill(self.server.pid, 15)
|
||||
# remove previously set environment variable
|
||||
del os.environ['SEARX_SETTINGS_PATH']
|
||||
|
||||
|
|
Loading…
Reference in a new issue