test(kubeclient): add IsFinishedPod test cases #5770
+22
−0
Merged
SonarQubeCloud / SonarCloud Code Analysis
succeeded
Apr 7, 2026 in 28s
Quality Gate passed
Annotations
Check failure on line 237 in pkg/utils/kubeclient/pod_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "failed pod" 4 times.
See more on https://sonarcloud.io/project/issues?id=fluid-cloudnative_fluid&issues=AZ1mBe2iRPBJy-7nxH65&open=AZ1mBe2iRPBJy-7nxH65&pullRequest=5770
Check failure on line 233 in pkg/utils/kubeclient/pod_test.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "running pod" 3 times.
See more on https://sonarcloud.io/project/issues?id=fluid-cloudnative_fluid&issues=AZ1mBe2iRPBJy-7nxH64&open=AZ1mBe2iRPBJy-7nxH64&pullRequest=5770
Loading