File tree 1 file changed +8
-2
lines changed
x-pack/qa/rolling-upgrade-multi-cluster/src/test/java/org/elasticsearch/upgrades 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
package org .elasticsearch .upgrades ;
7
7
8
+ import org .elasticsearch .Version ;
8
9
import org .elasticsearch .client .Request ;
9
10
import org .elasticsearch .client .ResponseException ;
10
11
import org .elasticsearch .client .RestClient ;
@@ -206,9 +207,14 @@ public void testAutoFollowing() throws Exception {
206
207
}
207
208
}
208
209
209
- @ AwaitsFix (bugUrl = "https://github.com/elastic/elasticsearch/issues/39355" )
210
210
public void testCannotFollowLeaderInUpgradedCluster () throws Exception {
211
- assumeTrue ("Tests only runs with upgrade_state [all]" , upgradeState == UpgradeState .ALL );
211
+ if (upgradeState != UpgradeState .ALL ) {
212
+ return ;
213
+ }
214
+ if (Version .CURRENT .equals (UPGRADE_FROM_VERSION )) {
215
+ // can't run this test when executing rolling upgrade against current version.
216
+ return ;
217
+ }
212
218
213
219
if (clusterName == ClusterName .FOLLOWER ) {
214
220
// At this point the leader cluster has not been upgraded, but follower cluster has been upgrade.
You can’t perform that action at this time.
0 commit comments