Skip to content

Commit

Permalink
Remove e2e logs
Browse files Browse the repository at this point in the history
  • Loading branch information
as51340 committed May 14, 2024
1 parent c31b675 commit 29d871a
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/high_availability/coord_cluster_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1279,4 +1279,4 @@ def test_add_coord_instance_fails():


if __name__ == "__main__":
sys.exit(pytest.main([__file__, "-rA", "--log-cli-level=DEBUG", "--capture=tee-sys"]))
sys.exit(pytest.main([__file__, "-rA"]))
2 changes: 1 addition & 1 deletion tests/e2e/high_availability/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ def test_main_and_replicas_cannot_register_coord_server(port):


if __name__ == "__main__":
sys.exit(pytest.main([__file__, "-rA", "--log-cli-level=DEBUG", "--capture=tee-sys"]))
sys.exit(pytest.main([__file__, "-rA"]))
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@ def check_coordinator3():


if __name__ == "__main__":
sys.exit(pytest.main([__file__, "-rA", "--log-cli-level=DEBUG", "--capture=tee-sys"]))
sys.exit(pytest.main([__file__, "-rA"]))
8 changes: 1 addition & 7 deletions tests/e2e/high_availability/distributed_coords.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"TRACE",
"--management-port",
"10011",
"--also-log-to-stderr",
],
"log_file": "high_availability/distributed_coords/instance_1.log",
"data_directory": f"{TEMP_DIR}/instance_1",
Expand All @@ -65,7 +64,6 @@
"TRACE",
"--management-port",
"10012",
"--also-log-to-stderr",
],
"log_file": "high_availability/distributed_coords/instance_2.log",
"data_directory": f"{TEMP_DIR}/instance_2",
Expand All @@ -80,7 +78,6 @@
"TRACE",
"--management-port",
"10013",
"--also-log-to-stderr",
],
"log_file": "high_availability/distributed_coords/instance_3.log",
"data_directory": f"{TEMP_DIR}/instance_3",
Expand All @@ -94,7 +91,6 @@
"--log-level=TRACE",
"--coordinator-id=1",
"--coordinator-port=10111",
"--also-log-to-stderr",
],
"log_file": "high_availability/distributed_coords/coordinator1.log",
"setup_queries": [],
Expand All @@ -107,7 +103,6 @@
"--log-level=TRACE",
"--coordinator-id=2",
"--coordinator-port=10112",
"--also-log-to-stderr",
],
"log_file": "high_availability/distributed_coords/coordinator2.log",
"setup_queries": [],
Expand All @@ -120,7 +115,6 @@
"--log-level=TRACE",
"--coordinator-id=3",
"--coordinator-port=10113",
"--also-log-to-stderr",
],
"log_file": "high_availability/distributed_coords/coordinator3.log",
"setup_queries": [
Expand Down Expand Up @@ -2877,4 +2871,4 @@ def get_vertex_count():


if __name__ == "__main__":
sys.exit(pytest.main([__file__, "-rA", "--log-cli-level=DEBUG", "--capture=tee-sys"]))
sys.exit(pytest.main([__file__, "-rA"]))
2 changes: 1 addition & 1 deletion tests/e2e/high_availability/manual_setting_replicas.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ def test_no_manual_setup_on_main():


if __name__ == "__main__":
sys.exit(pytest.main([__file__, "-rA", "--log-cli-level=DEBUG", "--capture=tee-sys"]))
sys.exit(pytest.main([__file__, "-rA"]))
2 changes: 1 addition & 1 deletion tests/e2e/high_availability/not_replicate_from_old_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,4 +292,4 @@ def show_repl_cluster():


if __name__ == "__main__":
sys.exit(pytest.main([__file__, "-rA", "--log-cli-level=DEBUG", "--capture=tee-sys"]))
sys.exit(pytest.main([__file__, "-rA"]))
2 changes: 1 addition & 1 deletion tests/e2e/high_availability/single_coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1742,4 +1742,4 @@ def test_disable_multiple_mains():


if __name__ == "__main__":
sys.exit(pytest.main([__file__, "-rA", "--log-cli-level=DEBUG", "--capture=tee-sys"]))
sys.exit(pytest.main([__file__, "-rA"]))
1 change: 0 additions & 1 deletion tests/e2e/memgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def wait_for_succesful_connection(self, delay=1):
count = 0
while count < 15:
try:
print(f"Current time: {datetime.datetime.now().time()}")
conn = mgclient.connect(
host=self.host,
port=self.bolt_port,
Expand Down

0 comments on commit 29d871a

Please sign in to comment.