Skip to content

Commit fc8689c

Browse files
committed
iter
1 parent 35504ee commit fc8689c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

x-pack/plugin/logsdb/qa/rolling-upgrade2/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@ tasks.withType(Test).configureEach {
2828
// CI doesn't like it when there's multiple clusters running at once
2929
maxParallelForks = 1
3030
}
31+
32+
tasks.named("javaRestTest") {
33+
enabled = false
34+
}

x-pack/plugin/logsdb/qa/rolling-upgrade2/src/javaRestTest/java/org/elasticsearch/xpack/logsdb/LogsdbIndexingRollingUpgradeIT.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ public void testIndexing() throws Exception {
135135

136136
private void upgradeNode(int n) throws IOException {
137137
closeClients();
138-
var upgradeVersion = Version.CURRENT;
138+
var upgradeVersion = System.getProperty("tests.new_cluster_version") == null
139+
? Version.fromString(System.getProperty("tests.new_cluster_version"))
140+
: Version.CURRENT;
139141
logger.info("Upgrading node {} to version {}", n, upgradeVersion);
140142
cluster.upgradeNodeToVersion(n, upgradeVersion);
141143
initClient();

0 commit comments

Comments
 (0)