Removes the check for full readiness of 3 replicas

In the ci environment the amount of time between 3 pods being created
and all being ready seems highly variable.  Also since we currently lack
the status information to determine if a deployment is not progressing,
it's best just to remove this check.  The latter check asserting full
readiness of 2 replicas will suffice.

Closes #20888
This commit is contained in:
Steve Hawkins 2023-06-09 11:04:14 -04:00 committed by Bruno Oliveira da Silva
parent 535bba5792
commit c1e96564dc

View file

@ -92,11 +92,6 @@ public class ClusteringTest extends BaseOperatorTest {
.ignoreExceptions()
.untilAsserted(() -> assertThat(kcPodsSelector.list().getItems().size()).isEqualTo(3));
Awaitility.await()
.atMost(Duration.ofSeconds(60))
.ignoreExceptions()
.untilAsserted(() -> assertThat(crSelector.scale().getStatus().getReplicas()).isEqualTo(3));
// when scale it down to 2
crSelector.scale(2);
assertThat(crSelector.scale().getSpec().getReplicas()).isEqualTo(2);