Add tests for node shutdown and object replication integrity #34
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-testcases#34
Loading…
Reference in a new issue
No description provided.
Delete branch "d.zayakin/frostfs-testcases:add-failover-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Добавление тестов на выключение ноды и целостности репликации объектовto Add tests for node shutdown and object replication integrity641a9dbc1f
to6ae34a7fc7
@ -0,0 +213,4 @@
self.check_objects_replication(storage_objects, self.cluster.storage_nodes)
with allure.step(f"Remove {node_to_stop} this list nodes"):
storage_nodes = list(set(self.cluster.storage_nodes) - {node_to_stop.storage_node})
suggest to rename it as
alive_nodes
or smth as in the previous test caseThere is rather a wrong naming initially. Corrected
@ -0,0 +95,4 @@
for storage_object in object_list:
os.remove(storage_object.file_path)
@allure.step("Return node to cluster")
Select random node to stop and start it after test
Corrected
@ -0,0 +82,4 @@
return request.param
@pytest.fixture(scope="class")
def storage_objects(
This fixture also deserves an allure step :)
Corrected
91ab0c8a33
to54f51b9dcf
54f51b9dcf
todf1ffbdcb6