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:
James Baiera 2019-03-01 13:27:57 -05:00 committed by GitHub
parent d0e65a45a2
commit 2a20e8e3fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
}