File tree Expand file tree Collapse file tree
tests/robot/check_delete_master Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,18 +20,15 @@ Check Delete Master
2020 Log To Console Deleting Master Pod "${OLD_MASTER_NAME } "
2121 Run Keyword Delete Pod ${OLD_MASTER_NAME } 30
2222
23- # wait until cluster is healthy again
2423 Log To Console Wait until cluster recovers after master deletion
25- Wait Until Keyword Succeeds 300 sec 2 sec Wait Replica Pods In Up State
26- Wait Until Keyword Succeeds 300 sec 2 sec Check Replica Count
24+ Wait Until Keyword Succeeds 300 sec 5 sec Wait Replica Pods In Up State
25+ Wait Until Keyword Succeeds 300 sec 5 sec Check Replica Count
2726
2827 ${NEW_MASTER } = Get Master Pod
2928 Log To Console Current Master ${NEW_MASTER.metadata.name }
3029
31- # check current master is writable
3230 Log To Console Test Current Master Works
33- Wait Until Keyword Succeeds 120 sec 1 sec Insert Test Record ${NEW_MASTER.status.pod_ip }
31+ Wait Until Keyword Succeeds 300 sec 5 sec Insert Test Record ${NEW_MASTER.status.pod_ip }
3432
35- # check replication after recovery
36- Run Keyword Check Replica Count
37- Run Keyword Replication Works
33+ Wait Until Keyword Succeeds 300 sec 5 sec Check Replica Count
34+ Wait Until Keyword Succeeds 300 sec 5 sec Replication Works
You can’t perform that action at this time.
0 commit comments