We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24d5fe9 commit 1fd5675Copy full SHA for 1fd5675
sample-operators/leader-election/src/test/java/io/javaoperatorsdk/operator/sample/LeaderElectionE2E.java
@@ -138,6 +138,7 @@ private void deployOperatorsInOrder(String yamlFilePrefix) {
138
applyResources("k8s/" + yamlFilePrefix + "operator.yaml");
139
await().atMost(Duration.ofSeconds(POD_STARTUP_TIMEOUT)).untilAsserted(() -> {
140
var pod = client.pods().inNamespace(namespace).withName(OPERATOR_1_POD_NAME).get();
141
+ assertThat(pod.getStatus().getContainerStatuses()).isNotEmpty();
142
assertThat(pod.getStatus().getContainerStatuses().get(0).getReady()).isTrue();
143
});
144
0 commit comments