Commit e650f67
committed
Fix DiscoveryDisruptionIT.testElectMasterWithLatestVersion (elastic#135396)
The clusterAdmin() call at the end of the test uses a random node,
which may not have been part of the current election, and may still
have an old cluster state, prior to the creation of the index in the
test. The fix ensures we use the admin client for the master node.
Resolves: elastic#134748
(cherry picked from commit 119c682)
# Conflicts:
# muted-tests.yml1 parent da727f0 commit e650f67
File tree
1 file changed
+2
-1
lines changed- server/src/internalClusterTest/java/org/elasticsearch/discovery
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
| 151 | + | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| |||
0 commit comments