From 57d60068bc642f318ee421df1523f94ef2673296 Mon Sep 17 00:00:00 2001 From: anikeev-yadro Date: Mon, 19 Feb 2024 18:26:09 +0300 Subject: [PATCH] [#198] Add switch bucket node endpoint v1.4 --- pytest_tests/testsuites/failovers/test_failover_storage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pytest_tests/testsuites/failovers/test_failover_storage.py b/pytest_tests/testsuites/failovers/test_failover_storage.py index 4fcf154a..9924ef62 100644 --- a/pytest_tests/testsuites/failovers/test_failover_storage.py +++ b/pytest_tests/testsuites/failovers/test_failover_storage.py @@ -170,6 +170,9 @@ class TestFailoverStorage(ClusterTestBase): with reporter.step(f"Stop storage service on node: {node}"): cluster_state_controller.stop_service_of_type(node, StorageNode) + with reporter.step(f"Change s3 endpoint to bucket node"): + s3_client.set_endpoint(node_bucket.s3_gate.get_endpoint()) + with reporter.step("Check that object is available"): s3_helper.check_objects_in_bucket(s3_client, bucket, expected_objects=[file_name]) -- 2.45.2