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(
1022
1022
.atMost (15 , MINUTES )
1023
1023
.await ()
1024
1024
.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)" ,
1027
1027
namespace ,
1028
1028
condition .getElapsedTimeInMS (),
1029
1029
condition .getRemainingTimeInMS ()))
Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ public static boolean isOperatorPodReady(String namespace) throws ApiException {
371
371
boolean status = false ;
372
372
String labelSelector = String .format ("weblogic.operatorName in (%s)" , namespace );
373
373
V1Pod pod = getPod (namespace , labelSelector , "weblogic-operator-" );
374
- if (pod != null ) {
374
+ if (pod != null && pod . getStatus () != null && pod . getStatus (). getConditions () != null ) {
375
375
// get the podCondition with the 'Ready' type field
376
376
V1PodCondition v1PodReadyCondition = pod .getStatus ().getConditions ().stream ()
377
377
.filter (v1PodCondition -> "Ready" .equals (v1PodCondition .getType ()))
You can’t perform that action at this time.
0 commit comments