revert old changes

This commit is contained in:
antoniofilipovic 2024-02-28 12:39:50 +01:00 committed by Antonio Filipovic
parent bd8854fd21
commit e776f91e6b
3 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ def execute_test(memgraph_binary, dump_binary, test_directory, test_type, write_
memgraph_args = [ memgraph_args = [
memgraph_binary, memgraph_binary,
"--data-recovery-on-startup", "--storage-recover-on-startup",
"--storage-properties-on-edges", "--storage-properties-on-edges",
"--data-directory", "--data-directory",
working_data_directory.name, working_data_directory.name,

View File

@ -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"] common_args = ["--data-directory", storage_directory.name, "--storage-properties-on-edges=false"]
# Start the memgraph binary # 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))) memgraph = subprocess.Popen(list(map(str, memgraph_args)))
time.sleep(0.1) time.sleep(0.1)
assert memgraph.poll() is None, "Memgraph process died prematurely!" 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!") raise Exception("The import should have succeeded, but it " "failed instead!")
# Start the memgraph binary # 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))) memgraph = subprocess.Popen(list(map(str, memgraph_args)))
time.sleep(0.1) time.sleep(0.1)
assert memgraph.poll() is None, "Memgraph process died prematurely!" assert memgraph.poll() is None, "Memgraph process died prematurely!"

View File

@ -53,7 +53,7 @@ cmd = [
"--storage-snapshot-interval-sec=5", "--storage-snapshot-interval-sec=5",
"--storage-snapshot-retention-count=2", "--storage-snapshot-retention-count=2",
"--storage-wal-enabled=true", "--storage-wal-enabled=true",
"--data-recovery-on-startup=true", "--storage-recover-on-startup=true",
"--query-execution-timeout-sec=600", "--query-execution-timeout-sec=600",
"--bolt-server-name-for-init=Neo4j/v5.11.0 compatible graph database server - Memgraph", "--bolt-server-name-for-init=Neo4j/v5.11.0 compatible graph database server - Memgraph",
] ]