From e776f91e6ba4121a464107354b9139515f7f580f Mon Sep 17 00:00:00 2001 From: antoniofilipovic Date: Wed, 28 Feb 2024 12:39:50 +0100 Subject: [PATCH] revert old changes --- tests/integration/durability/runner.py | 2 +- tests/integration/mg_import_csv/runner.py | 4 ++-- tests/stress/durability | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/durability/runner.py b/tests/integration/durability/runner.py index 9eb4e66c9..8a62f7e3b 100755 --- a/tests/integration/durability/runner.py +++ b/tests/integration/durability/runner.py @@ -69,7 +69,7 @@ def execute_test(memgraph_binary, dump_binary, test_directory, test_type, write_ memgraph_args = [ memgraph_binary, - "--data-recovery-on-startup", + "--storage-recover-on-startup", "--storage-properties-on-edges", "--data-directory", working_data_directory.name, diff --git a/tests/integration/mg_import_csv/runner.py b/tests/integration/mg_import_csv/runner.py index 85aa5fdb6..65f0e6dca 100755 --- a/tests/integration/mg_import_csv/runner.py +++ b/tests/integration/mg_import_csv/runner.py @@ -54,7 +54,7 @@ def verify_lifetime(memgraph_binary, mg_import_csv_binary): common_args = ["--data-directory", storage_directory.name, "--storage-properties-on-edges=false"] # Start the memgraph binary - memgraph_args = [memgraph_binary, "--data-recovery-on-startup=true"] + common_args + memgraph_args = [memgraph_binary, "--storage-recover-on-startup=true"] + common_args memgraph = subprocess.Popen(list(map(str, memgraph_args))) time.sleep(0.1) assert memgraph.poll() is None, "Memgraph process died prematurely!" @@ -137,7 +137,7 @@ def execute_test(name, test_path, test_config, memgraph_binary, mg_import_csv_bi raise Exception("The import should have succeeded, but it " "failed instead!") # Start the memgraph binary - memgraph_args = [memgraph_binary, "--data-recovery-on-startup"] + common_args + memgraph_args = [memgraph_binary, "--storage-recover-on-startup"] + common_args memgraph = subprocess.Popen(list(map(str, memgraph_args))) time.sleep(0.1) assert memgraph.poll() is None, "Memgraph process died prematurely!" diff --git a/tests/stress/durability b/tests/stress/durability index 97b6b4899..59878aa34 100755 --- a/tests/stress/durability +++ b/tests/stress/durability @@ -53,7 +53,7 @@ cmd = [ "--storage-snapshot-interval-sec=5", "--storage-snapshot-retention-count=2", "--storage-wal-enabled=true", - "--data-recovery-on-startup=true", + "--storage-recover-on-startup=true", "--query-execution-timeout-sec=600", "--bolt-server-name-for-init=Neo4j/v5.11.0 compatible graph database server - Memgraph", ]