forked from TrueCloudLab/frostfs-testcases
[#197] Add switch bucket node endpoint v1.5
This commit is contained in:
parent
c433fe2264
commit
8164d35fc8
1 changed files with 3 additions and 0 deletions
|
@ -170,6 +170,9 @@ class TestFailoverStorage(ClusterTestBase):
|
||||||
with reporter.step(f"Stop storage service on node: {node}"):
|
with reporter.step(f"Stop storage service on node: {node}"):
|
||||||
cluster_state_controller.stop_service_of_type(node, StorageNode)
|
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"):
|
with reporter.step("Check that object is available"):
|
||||||
s3_helper.check_objects_in_bucket(s3_client, bucket, expected_objects=[file_name])
|
s3_helper.check_objects_in_bucket(s3_client, bucket, expected_objects=[file_name])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue