fix: exceptions should be ignored in until the condition is met (#24478)
closes #24477
This commit is contained in:
parent
9ef9c944d0
commit
a6f6a52897
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ public class KeycloakDeploymentTest extends BaseOperatorTest {
|
|||
Resource<StatefulSet> stsResource = k8sclient.resources(StatefulSet.class).withName(deploymentName);
|
||||
Resource<Keycloak> keycloakResource = k8sclient.resources(Keycloak.class).withName(deploymentName);
|
||||
// expect no errors and not ready, which means we'll keep reconciling
|
||||
Awaitility.await().untilAsserted(() -> {
|
||||
Awaitility.await().ignoreExceptions().untilAsserted(() -> {
|
||||
assertThat(stsResource.get()).isNotNull();
|
||||
Keycloak keycloak = keycloakResource.get();
|
||||
CRAssert.assertKeycloakStatusCondition(keycloak, KeycloakStatusCondition.HAS_ERRORS, false);
|
||||
|
|
Loading…
Reference in a new issue