File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
integration-tests/src/test/java/oracle/weblogic/kubernetes Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1022,8 +1022,8 @@ private static void collectAppAvailability(
10221022 .atMost (15 , MINUTES )
10231023 .await ()
10241024 .conditionEvaluationListener (
1025- condition -> logger .info ("Waiting for patched application running on all managed servers in namespace {1 } "
1026- + "(elapsed time {2 }ms, remaining time {3 }ms)" ,
1025+ condition -> logger .info ("Waiting for patched application running on all managed servers in namespace {0 } "
1026+ + "(elapsed time {1 }ms, remaining time {2 }ms)" ,
10271027 namespace ,
10281028 condition .getElapsedTimeInMS (),
10291029 condition .getRemainingTimeInMS ()))
Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ public static boolean isOperatorPodReady(String namespace) throws ApiException {
371371 boolean status = false ;
372372 String labelSelector = String .format ("weblogic.operatorName in (%s)" , namespace );
373373 V1Pod pod = getPod (namespace , labelSelector , "weblogic-operator-" );
374- if (pod != null ) {
374+ if (pod != null && pod . getStatus () != null && pod . getStatus (). getConditions () != null ) {
375375 // get the podCondition with the 'Ready' type field
376376 V1PodCondition v1PodReadyCondition = pod .getStatus ().getConditions ().stream ()
377377 .filter (v1PodCondition -> "Ready" .equals (v1PodCondition .getType ()))
You can’t perform that action at this time.
0 commit comments