give server more time to start for fixing tests

This commit is contained in:
DJ2LS 2024-05-08 08:17:35 +02:00
parent c9bab1297c
commit ca1da47cae

View file

@ -18,7 +18,7 @@ class TestIntegration(unittest.TestCase):
my_env = os.environ.copy() my_env = os.environ.copy()
my_env["FREEDATA_CONFIG"] = "freedata_server/config.ini.example" my_env["FREEDATA_CONFIG"] = "freedata_server/config.ini.example"
cls.process = Popen(shlex.split(cmd), stdin=PIPE, env=my_env) cls.process = Popen(shlex.split(cmd), stdin=PIPE, env=my_env)
time.sleep(1) time.sleep(5)
@classmethod @classmethod
def tearDownClass(cls): def tearDownClass(cls):