Commit e1fef29
committed
DISTMYSQL-249: Orchestrator analysis-locked-hypothesis test is unstable
https://jira.percona.com/browse/DISTMYSQL-249
Problem:
analysis-locked-hypothesis test is unstable
Cause:
By default instance is polled every 5 seconds, but we wait only for
2 seconds, so it may happen that instance is not polled before we
get the analysis result.
Solution:
Wait for 7 seconds after disabling instance. It is 7 because it has
to be > 5 but LockedSemiSyncMasterHypothesis is reported only within
6 secs window (InstancePollSeconds + ReasonableInstanceCheckSeconds),
then it switches to LockedSemiSyncMaster status.1 parent 76a7e20 commit e1fef29
File tree
1 file changed
+1
-1
lines changed- tests/system/analysis-locked-semi-sync-master/01-analysis-locked-hypothesis
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
0 commit comments