mirror of https://github.com/apache/nifi.git
NIFI-7898 Fixed unit test which failed with simultaneous services running on localhost:80.
This commit is contained in:
parent
668c278e30
commit
82d3fd6cd6
|
@ -429,13 +429,13 @@ class StandardOidcIdentityProviderGroovyTest extends GroovyTestCase {
|
|||
logger.info("OIDC Token Response: ${mockResponse.dump()}")
|
||||
|
||||
// Act
|
||||
def msg = shouldFail(ConnectException) {
|
||||
def msg = shouldFail {
|
||||
String nifiToken = soip.convertOIDCTokenToNiFiToken(mockResponse)
|
||||
logger.info("NiFi token: ${nifiToken}")
|
||||
}
|
||||
|
||||
// Assert
|
||||
assert msg =~ "Connection refused"
|
||||
assert msg =~ "Connection refused|Remote host terminated the handshake"
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue