Commit 0668078
authored
[Test] Flush master queue before checking snapshots (elastic#116938) (elastic#122718)
The block-on-data-node returns once the data node begins to process the
cluster state update for new snapshot. This is before master can see the
chnages. In edge cases, the listener may be completed too early before
the master can see the new snapshot. This PR flushes the master queue to
ensure the snapshot is visible.
Resolves: elastic#116730
(cherry picked from commit 5d9385f)
# Conflicts:
# muted-tests.yml1 parent 2efc831 commit 0668078
File tree
1 file changed
+1
-0
lines changed- server/src/internalClusterTest/java/org/elasticsearch/snapshots
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
0 commit comments