Add test for putting object while one node is stopped #33

Merged
abereziny merged 1 commit from EliChin/frostfs-testcases:feature/node_mng into master 2023-04-21 08:00:01 +00:00
Member

Signed-off-by: Liza e.chichindaeva@yadro.com

Signed-off-by: Liza <e.chichindaeva@yadro.com>
EliChin requested review from JuliaKovshova 2023-04-19 08:04:30 +00:00
EliChin requested review from abereziny 2023-04-19 08:04:30 +00:00
EliChin requested review from qa-developers 2023-04-19 08:19:51 +00:00
abereziny reviewed 2023-04-19 08:24:37 +00:00
@ -415,0 +441,4 @@
endpoint=random_node.get_rpc_endpoint(),
)
wait_object_replication(cid, oid, 3, shell=self.shell, nodes=storage_nodes)
stop_random_storage_nodes(1, [random_node])
Member

before messing with the node we need to save it to list of after-test recovery.
See line 153 of this file.

before messing with the node we need to save it to list of after-test recovery. See line 153 of this file.
abereziny reviewed 2023-04-19 08:25:36 +00:00
@ -415,0 +449,4 @@
shell=self.shell,
endpoint=alive_node.get_rpc_endpoint(),
)
start_storage_nodes([random_node])
Member

self.return_nodes(alive_node)

`self.return_nodes(alive_node)`
abereziny reviewed 2023-04-19 08:29:41 +00:00
@ -415,0 +440,4 @@
shell=self.shell,
endpoint=random_node.get_rpc_endpoint(),
)
wait_object_replication(cid, oid, 3, shell=self.shell, nodes=storage_nodes)
Member

How lines 436-443 relates to this test?

How lines 436-443 relates to this test?
EliChin force-pushed feature/node_mng from 86b1a2fc63 to 42bd0849d0 2023-04-19 16:16:13 +00:00 Compare
EliChin force-pushed feature/node_mng from 70dd08f45a to d10095d4e5 2023-04-19 16:32:36 +00:00 Compare
EliChin force-pushed feature/node_mng from d10095d4e5 to 0bbb413224 2023-04-20 06:12:13 +00:00 Compare
yadro-vavdeev approved these changes 2023-04-20 07:28:29 +00:00
@ -415,0 +435,4 @@
)
with allure.step(f"Stop a random node and try to put an object"):
check_nodes.append(random_node)
stop_random_storage_nodes(1, [random_node])
Contributor
random_node.stop_service()
``` random_node.stop_service() ```
Author
Member

changed

changed
abereziny approved these changes 2023-04-20 10:39:38 +00:00
Member

Where can I read the test steps?
Steps should be described in the test code or test analytic system.

Where can I read the test steps? Steps should be described in the test code or test analytic system.
JuliaKovshova approved these changes 2023-04-20 14:03:10 +00:00
EliChin force-pushed feature/node_mng from 0bbb413224 to e86ed765b1 2023-04-20 14:40:55 +00:00 Compare
EliChin requested review from yadro-vavdeev 2023-04-20 14:48:14 +00:00
EliChin requested review from abereziny 2023-04-20 14:48:20 +00:00
abereziny approved these changes 2023-04-20 15:01:53 +00:00
anikeev-yadro approved these changes 2023-04-20 15:11:28 +00:00
abereziny scheduled this pull request to auto merge when all checks succeed 2023-04-20 15:19:30 +00:00
abereziny requested review from qa-committers 2023-04-20 15:20:18 +00:00
abereziny requested review from qa-developers 2023-04-20 15:20:18 +00:00
abereziny approved these changes 2023-04-20 15:20:25 +00:00
anikeev-yadro approved these changes 2023-04-20 15:27:43 +00:00
yadro-vavdeev approved these changes 2023-04-21 05:40:04 +00:00
abereziny merged commit e86ed765b1 into master 2023-04-21 08:00:01 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
5 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#33
No description provided.