Skip to content

Commit 2a20e8e

Browse files
authored
Remove missing variable from error message (#39321)
When test clusters are stood up, one of the steps in the wait task is to wait for ports files to appear. An exception throw was added if this were to time out instead of failing with no information, but the exception text uses a missing variable which further obfuscates the problem. Backports #39321
1 parent d0e65a4 commit 2a20e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterConfiguration.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class ClusterConfiguration {
126126
}
127127
if (ant.properties.containsKey("failed.${seedNode.transportPortsFile.path}".toString())) {
128128
throw new GradleException("Failed to locate seed node transport file [${seedNode.transportPortsFile}]: " +
129-
"timed out waiting for it to be created after ${waitSeconds} seconds")
129+
"timed out waiting for it to be created after 40 seconds")
130130
}
131131
return seedNode.transportUri()
132132
}

0 commit comments

Comments
 (0)