Skip to content

Commit 3ff0f24

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 f14405a commit 3ff0f24

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
@@ -110,7 +110,7 @@ class ClusterConfiguration {
110110
}
111111
if (ant.properties.containsKey("failed.${seedNode.transportPortsFile.path}".toString())) {
112112
throw new GradleException("Failed to locate seed node transport file [${seedNode.transportPortsFile}]: " +
113-
"timed out waiting for it to be created after ${waitSeconds} seconds")
113+
"timed out waiting for it to be created after 40 seconds")
114114
}
115115
return seedNode.transportUri()
116116
}

0 commit comments

Comments
 (0)