You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Artem Plyusnin (Jira)" <ji...@apache.org> on 2024/04/24 16:34:00 UTC

[jira] [Created] (FLINK-35231) Test relies on listJobsFunction in TestingClusterClient are broken

Artem Plyusnin created FLINK-35231:
--------------------------------------

             Summary: Test relies on listJobsFunction in TestingClusterClient are broken
                 Key: FLINK-35231
                 URL: https://issues.apache.org/jira/browse/FLINK-35231
             Project: Flink
          Issue Type: Bug
          Components: Kubernetes Operator
    Affects Versions: kubernetes-operator-1.9.0
            Reporter: Artem Plyusnin


Supplier listJobsFunction is never called in TestingClusterClient therefore some assertions are never called.

Affected tests: 
 * FlinkSessionJobObserverTest#testObserveWithEffectiveConfig
 * FlinkDeploymentControllerTest#verifyReconcileWithBadConfig
 * FlinkSessionJobControllerTest#verifyReconcileWithBadConfig

Reason:

When listJobs() requested TestingClusterClient calls TestingFlinkClient#getMultipleJobsDetails instead of listJobsFunction



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