-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add volume node reboot test cases
Signed-off-by: Yang Chiu <[email protected]>
- Loading branch information
Showing
9 changed files
with
177 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
*** Settings *** | ||
Documentation Negative Test Cases | ||
Resource ../keywords/volume.resource | ||
Resource ../keywords/node.resource | ||
Resource ../keywords/common.resource | ||
|
||
Test Setup Set test environment | ||
Test Teardown Cleanup test resources | ||
|
||
*** Variables *** | ||
${LOOP_COUNT} 1 | ||
|
||
*** Test Cases *** | ||
Reboot Volume Node While Replica Rebuilding | ||
Create a volume with 5 GB and 3 replicas | ||
Write data to the volume | ||
FOR ${i} IN RANGE ${LOOP_COUNT} | ||
Delete replica on volume node to trigger replica rebuilding | ||
During replica rebuilding, reboot volume node | ||
Wait until replica on volume node rebuilt | ||
Check data is intact | ||
END | ||
|
||
Reboot Replica Node While Replica Rebuilding | ||
Create a volume with 5 GB and 3 replicas | ||
Write data to the volume | ||
FOR ${i} IN RANGE ${LOOP_COUNT} | ||
Delete replica on replica node to trigger replica rebuilding | ||
During replica rebuilding, reboot replica node | ||
Wait until replica on replica node rebuilt | ||
Check data is intact | ||
END |