diff --git a/src/auth/reference_modules/example.py b/src/auth/reference_modules/example.py index e1898f4f6..d40f34892 100755 --- a/src/auth/reference_modules/example.py +++ b/src/auth/reference_modules/example.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/python3 import json import io diff --git a/src/auth/reference_modules/ldap.py b/src/auth/reference_modules/ldap.py index ac090a09c..761db8fd6 100755 --- a/src/auth/reference_modules/ldap.py +++ b/src/auth/reference_modules/ldap.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/python3 import json import io import ssl diff --git a/tests/integration/ldap/runner.py b/tests/integration/ldap/runner.py index 33f575535..f5f8b4c5b 100755 --- a/tests/integration/ldap/runner.py +++ b/tests/integration/ldap/runner.py @@ -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: diff --git a/tests/integration/telemetry/runner.py b/tests/integration/telemetry/runner.py index da958489d..766ba9f43 100755 --- a/tests/integration/telemetry/runner.py +++ b/tests/integration/telemetry/runner.py @@ -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: