diff --git a/uaa/src/test/java/org/cloudfoundry/identity/uaa/oauth/UaaTokenServicesTests.java b/uaa/src/test/java/org/cloudfoundry/identity/uaa/oauth/UaaTokenServicesTests.java index f1b6793ebfb..606925d201a 100644 --- a/uaa/src/test/java/org/cloudfoundry/identity/uaa/oauth/UaaTokenServicesTests.java +++ b/uaa/src/test/java/org/cloudfoundry/identity/uaa/oauth/UaaTokenServicesTests.java @@ -518,6 +518,7 @@ class WhenRefreshTokenValidityIsSpecified { @BeforeEach void init() { + assumeTrue(waitForClient(clientId, 3), "Test client jku_test not up yet"); refreshTokenRequestData = new RefreshTokenRequestData( GRANT_TYPE_AUTHORIZATION_CODE, Sets.newHashSet("openid", "user_attributes"),