Fix Centos8 build (#126)

* Increase server wait

* Use standard shebang for python scripts
This commit is contained in:
antonio2368 2021-03-26 12:05:58 +01:00 committed by GitHub
parent 60da033010
commit 50ddd59450
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python3
import json
import io

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python3
import json
import io
import ssl

View File

@ -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:

View File

@ -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: