Skip to content
Snippets Groups Projects
Commit e46d3bdf authored by Grigorii Demidov's avatar Grigorii Demidov
Browse files

tests: increased subprocess timeout

parent 4663811c
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,6 @@ class TestServer:
self.peer_iface = p_iface
self.map_adresses()
self.start()
def __del__(self):
......@@ -101,8 +100,7 @@ class TestServer:
if TEST_DEBUG > 0:
syn_print(None, "start")
if self.active is True:
if TEST_DEBUG > 0:
syn_print(None, "TestServer already started")
raise Exception('TestServer already started')
self.active = True
self.start_srv(self.kroot_local, self.kroot_family)
......
......@@ -30,7 +30,7 @@ def del_files(path_to):
DEFAULT_IFACE = 0
CHILD_IFACE = 0
TMPDIR = ""
SUBPROCESS_WAIT_TOUT = 0.2
SUBPROCESS_WAIT_TOUT = 1
if "SOCKET_WRAPPER_DEFAULT_IFACE" in os.environ:
DEFAULT_IFACE = int(os.environ["SOCKET_WRAPPER_DEFAULT_IFACE"])
......
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