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 0710c6b commit 24d5fe9Copy full SHA for 24d5fe9
sample-operators/leader-election/src/test/java/io/javaoperatorsdk/operator/sample/LeaderElectionE2E.java
@@ -145,6 +145,7 @@ private void deployOperatorsInOrder(String yamlFilePrefix) {
145
applyResources("k8s/" + yamlFilePrefix + "operator-instance-2.yaml");
146
await().atMost(Duration.ofSeconds(POD_STARTUP_TIMEOUT)).untilAsserted(() -> {
147
var pod = client.pods().inNamespace(namespace).withName(OPERATOR_2_POD_NAME).get();
148
+ assertThat(pod.getStatus().getContainerStatuses()).isNotEmpty();
149
assertThat(pod.getStatus().getContainerStatuses().get(0).getReady()).isTrue();
150
});
151
}
0 commit comments