new-integration-tests/src/test/java/oracle/weblogic/kubernetes/assertions/impl/Kubernetes.java
public static boolean podRestartVersionUpdated(
      String namespace,
      String domainUid,
      String podName,
      String expectedRestartVersion
  ) throws ApiException {
    LoggingFacade logger = getLogger();
    String restartVersion = getPodRestartVersion(namespace, "", podName);

    if (restartVersion != null && restartVersion.equals(expectedRestartVersion)) {
      logger.info("Pod {0}: domainRestartVersion has been updated to expected value {1}",
          podName, expectedRestartVersion);
      return true;
    }
    logger.info("Pod {0}: domainRestartVersion {1} does not match expected value {2}",
        podName, restartVersion, expectedRestartVersion);
    return false;
  }
/**
   * Checks if a pod in a given namespace has been updated with an expected
   * weblogic.domainRestartVersion label.
   *
   * @param namespace in which to check for the pod
   * @param domainUid the label the pod is decorated with
   * @param podName name of the pod to check for
   * @param expectedRestartVersion domainRestartVersion that is expected
   * @return true if pod has been updated as expected
   * @throws ApiException when there is error in querying the cluster
   */
Checks if a pod in a given namespace has been updated with an expected
weblogic.domainRestartVersion label.


Checks if a pod in a given namespace has been updated with an expected weblogic . domainRestartVersion label .
public static boolean podRestartVersionUpdated(
      String namespace,
      String domainUid,
      String podName,
      String expectedRestartVersion
  ) throws ApiException {
    LoggingFacade logger = getLogger();
    String restartVersion = getPodRestartVersion(namespace, "", podName);
    if (restartVersion != null && restartVersion.equals(expectedRestartVersion)) {
      logger.info("Pod {0}: domainRestartVersion has been updated to expected value {1}",
          podName, expectedRestartVersion);
      return true;
    }
    logger.info("Pod {0}: domainRestartVersion {1} does not match expected value {2}",
        podName, restartVersion, expectedRestartVersion);
    return false;
  }
public static boolean podRestartVersionUpdated ( String namespace , String domainUid , String podName , String expectedRestartVersion ) throws ApiException { LoggingFacade logger = getLogger ( ) ; String restartVersion = getPodRestartVersion ( namespace , "" , podName ) ; if ( restartVersion != null && restartVersion . equals ( expectedRestartVersion ) ) { logger . info ( "Pod {0}: domainRestartVersion has been updated to expected value {1}" , podName , expectedRestartVersion ) ; return true ; } logger . info ( "Pod {0}: domainRestartVersion {1} does not match expected value {2}" , podName , restartVersion , expectedRestartVersion ) ; return false ; }
Checks if a pod in a given namespace has been updated with an expected
 weblogic.domainRestartVersion label.
Checks if a pod in a given namespace has been updated with an expected weblogic . domainRestartVersion label .