Skip to content

cover missing pod phases

6d0b9af
Select commit
Loading
Failed to load commit list.
Merged

test(kubeclient): add IsFinishedPod test cases #5770

cover missing pod phases
6d0b9af
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 7, 2026 in 28s

Annotations

Check failure on line 237 in pkg/utils/kubeclient/pod_test.go

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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