Fix Centos8 build (#126)
* Increase server wait * Use standard shebang for python scripts
This commit is contained in:
parent
60da033010
commit
50ddd59450
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
#!/usr/bin/python3
|
||||
import json
|
||||
import io
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
#!/usr/bin/python3
|
||||
import json
|
||||
import io
|
||||
import ssl
|
||||
|
@ -73,7 +73,7 @@ class Memgraph:
|
||||
virtualenv_bin = os.path.join(SCRIPT_DIR, "ve3", "bin", "python3")
|
||||
with open(script_file) as fin:
|
||||
data = fin.read()
|
||||
data = data.replace("/usr/bin/env python3", virtualenv_bin)
|
||||
data = data.replace("/usr/bin/python3", virtualenv_bin)
|
||||
data = data.replace("/etc/memgraph/auth/ldap.yaml",
|
||||
self._auth_config)
|
||||
with open(self._auth_module, "w") as fout:
|
||||
|
@ -45,7 +45,7 @@ def execute_test(**kwargs):
|
||||
server = None
|
||||
if start_server:
|
||||
server = subprocess.Popen(list(map(str, server_args)))
|
||||
time.sleep(0.1)
|
||||
time.sleep(0.4)
|
||||
assert server.poll() is None, "Server process died prematurely!"
|
||||
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user