Tony Garrard created FLINK-29283:
------------------------------------

             Summary: Remove hardcoded apiVersion from operator unit test
                 Key: FLINK-29283
                 URL: https://issues.apache.org/jira/browse/FLINK-29283
             Project: Flink
          Issue Type: Improvement
          Components: Kubernetes Operator
    Affects Versions: kubernetes-operator-1.1.0
            Reporter: Tony Garrard
             Fix For: kubernetes-operator-1.2.0


The unit test 
flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/utils/ReconciliationUtilsTest.java
 has a hardcoded apiVersion. To facilitate modifications, it should be using 
the constants provided in the class CrdConstants i.e. 

assertEquals(API_GROUP + "/" + API_VERSION, 
internalMeta.get("apiVersion").asText());

instead of "flink.apache.org/v1beta1"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to