Compare commits
2 Commits
replicatio
...
debian-10-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1bf5bc62c4 | ||
|
|
db2b5c3c36 |
@@ -112,6 +112,8 @@ def start_memgraph(args: Args, memgraph_options: List[str]) -> Popen:
|
|||||||
|
|
||||||
def stop_memgraph(proc_mg: Popen) -> None:
|
def stop_memgraph(proc_mg: Popen) -> None:
|
||||||
proc_mg.terminate()
|
proc_mg.terminate()
|
||||||
|
for line in iter(proc_mg.stdout.readline, ""):
|
||||||
|
print(line)
|
||||||
ret_mg = proc_mg.wait()
|
ret_mg = proc_mg.wait()
|
||||||
if ret_mg != 0:
|
if ret_mg != 0:
|
||||||
raise Exception("Memgraph binary returned non-zero ({})!".format(ret_mg))
|
raise Exception("Memgraph binary returned non-zero ({})!".format(ret_mg))
|
||||||
@@ -144,6 +146,7 @@ def run_test(args: Args, test: str, options: List[str], timeout: int, mode: Data
|
|||||||
]
|
]
|
||||||
+ options
|
+ options
|
||||||
)
|
)
|
||||||
|
print("Executing command '{}'".format(" ".join(cmd)))
|
||||||
start = time.time()
|
start = time.time()
|
||||||
ret_test = subprocess.run(cmd, cwd=SCRIPT_DIR, timeout=timeout * 60)
|
ret_test = subprocess.run(cmd, cwd=SCRIPT_DIR, timeout=timeout * 60)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user