Skip to content

Commit ee4be21

Browse files
committed
fix: add wait time for checking
1 parent 4c69b71 commit ee4be21

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

tests/robot/check_delete_master/check_delete_master.robot

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)