Skip to content

Commit 1fd5675

Browse files
committed
wip
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 24d5fe9 commit 1fd5675

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sample-operators/leader-election/src/test/java/io/javaoperatorsdk/operator/sample/LeaderElectionE2E.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ private void deployOperatorsInOrder(String yamlFilePrefix) {
138138
applyResources("k8s/" + yamlFilePrefix + "operator.yaml");
139139
await().atMost(Duration.ofSeconds(POD_STARTUP_TIMEOUT)).untilAsserted(() -> {
140140
var pod = client.pods().inNamespace(namespace).withName(OPERATOR_1_POD_NAME).get();
141+
assertThat(pod.getStatus().getContainerStatuses()).isNotEmpty();
141142
assertThat(pod.getStatus().getContainerStatuses().get(0).getReady()).isTrue();
142143
});
143144

0 commit comments

Comments
 (0)