You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gyula Fora (Jira)" <ji...@apache.org> on 2022/09/18 10:13:00 UTC
[jira] [Closed] (FLINK-29283) Remove hardcoded apiVersion from operator unit test
[ https://issues.apache.org/jira/browse/FLINK-29283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gyula Fora closed FLINK-29283.
------------------------------
Resolution: Won't Fix
> 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
> Priority: Minor
> Labels: pull-request-available
> 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)