Add tests for node shutdown and object replication integrity #34

Merged
JuliaKovshova merged 1 commit from d.zayakin/frostfs-testcases:add-failover-tests into master 2023-05-05 08:18:47 +00:00
Member
No description provided.
d.zayakin changed title from Добавление тестов на выключение ноды и целостности репликации объектов to Add tests for node shutdown and object replication integrity 2023-05-02 08:13:59 +00:00
d.zayakin force-pushed add-failover-tests from 641a9dbc1f to 6ae34a7fc7 2023-05-02 09:58:25 +00:00 Compare
abereziny reviewed 2023-05-02 18:19:37 +00:00
@ -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})
Member

suggest to rename it as alive_nodes or smth as in the previous test case

suggest to rename it as `alive_nodes` or smth as in the previous test case
Author
Member

There is rather a wrong naming initially. Corrected

There is rather a wrong naming initially. Corrected
abereziny marked this conversation as resolved
abereziny reviewed 2023-05-02 18:23:13 +00:00
@ -0,0 +95,4 @@
for storage_object in object_list:
os.remove(storage_object.file_path)
@allure.step("Return node to cluster")
Member

Select random node to stop and start it after test

Select random node to stop and start it after test
Author
Member

Corrected

Corrected
abereziny marked this conversation as resolved
abereziny reviewed 2023-05-02 18:24:41 +00:00
@ -0,0 +82,4 @@
return request.param
@pytest.fixture(scope="class")
def storage_objects(
Member

This fixture also deserves an allure step :)

This fixture also deserves an allure step :)
Author
Member

Corrected

Corrected
abereziny marked this conversation as resolved
abereziny requested review from qa-developers 2023-05-02 18:24:53 +00:00
abereziny requested review from qa-committers 2023-05-02 18:24:54 +00:00
d.zayakin force-pushed add-failover-tests from 91ab0c8a33 to 54f51b9dcf 2023-05-03 08:43:46 +00:00 Compare
d.zayakin force-pushed add-failover-tests from 54f51b9dcf to df1ffbdcb6 2023-05-03 08:45:54 +00:00 Compare
abereziny approved these changes 2023-05-03 08:51:44 +00:00
anikeev-yadro approved these changes 2023-05-04 06:51:13 +00:00
JuliaKovshova approved these changes 2023-05-04 08:24:08 +00:00
JuliaKovshova merged commit a6e1190f23 into master 2023-05-05 08:18:47 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-testcases#34
No description provided.