Fix assertion in Wildfly build
This commit fixes a flubbed assertion in the Wildfly build file; the intention was to assert that we have only set the value of the management port once except the assertion that the management port was equal to zero when finding a matching log line was left off.
This commit is contained in:
parent
876b16e75a
commit
1877139e89
|
@ -130,7 +130,7 @@ task startWildfly {
|
|||
// set this system property so the test runner knows the port Wildfly is listening for HTTP requests on
|
||||
integTestRunner.systemProperty("tests.jboss.http.port", httpPort)
|
||||
} else if (line.matches('.*Http management interface listening on http://.*:\\d+/management$')) {
|
||||
assert managementPort
|
||||
assert managementPort == 0
|
||||
final int colonIndex = line.lastIndexOf(":")
|
||||
assert colonIndex >= 0
|
||||
final int slashIndex = line.lastIndexOf("/")
|
||||
|
|
Loading…
Reference in New Issue