Skip to content

Commit 1ca4d85

Browse files
committed
iter2
1 parent fc8689c commit 1ca4d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

136136
private void upgradeNode(int n) throws IOException {
137137
closeClients();
138-
var upgradeVersion = System.getProperty("tests.new_cluster_version") == null
138+
var upgradeVersion = System.getProperty("tests.new_cluster_version") != null
139139
? Version.fromString(System.getProperty("tests.new_cluster_version"))
140140
: Version.CURRENT;
141141
logger.info("Upgrading node {} to version {}", n, upgradeVersion);

0 commit comments

Comments
 (0)