mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-27 18:38:41 +00:00
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
This commit is contained in:
parent
d0e65a45a2
commit
2a20e8e3fe
@ -126,7 +126,7 @@ class ClusterConfiguration {
|
||||
}
|
||||
if (ant.properties.containsKey("failed.${seedNode.transportPortsFile.path}".toString())) {
|
||||
throw new GradleException("Failed to locate seed node transport file [${seedNode.transportPortsFile}]: " +
|
||||
"timed out waiting for it to be created after ${waitSeconds} seconds")
|
||||
"timed out waiting for it to be created after 40 seconds")
|
||||
}
|
||||
return seedNode.transportUri()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user