Fix dataloss test #26

Merged
JuliaKovshova merged 2 commits from anikeev-yadro/frostfs-testcases:anikeev/fix_dataloss_test into master 2023-03-24 13:54:09 +00:00

View file

@ -284,9 +284,6 @@ class TestEmptyMap(TestS3GateBase):
with allure.step("Check that we can read object"): with allure.step("Check that we can read object"):
check_objects_in_bucket(self.s3_client, bucket, bucket_objects) check_objects_in_bucket(self.s3_client, bucket, bucket_objects)
objects_list = s3_gate_object.list_objects_s3(self.s3_client, bucket)
assert not objects_list, f"Expected empty bucket, got {objects_list}"
@allure.step("Teardown after EmptyMap stop service test") @allure.step("Teardown after EmptyMap stop service test")
@pytest.fixture() @pytest.fixture()
def empty_map_stop_service_teardown(self): def empty_map_stop_service_teardown(self):