Skip to content

Commit 56c99e1

Browse files
committed
WIP need to check version
1 parent 53545b9 commit 56c99e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/TransformSurvivesUpgradeIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import org.apache.http.HttpHost;
1010
import org.apache.http.entity.ContentType;
1111
import org.apache.http.entity.StringEntity;
12+
import org.elasticsearch.Build;
1213
import org.elasticsearch.client.Request;
1314
import org.elasticsearch.client.Response;
1415
import org.elasticsearch.client.RestClient;
@@ -234,6 +235,7 @@ private void verifyContinuousTransformHandlesData(long expectedLastCheckpoint) t
234235
private void verifyUpgradeFailsIfMixedCluster() {
235236
// upgrade tests by design are also executed with the same version, this check must be skipped in this case, see gh#39102.
236237
if (isOriginalClusterCurrent()) {
238+
Build.current().v
237239
return;
238240
}
239241
final Request upgradeTransformRequest = new Request("POST", getTransformEndpoint() + "_upgrade");

0 commit comments

Comments
 (0)