Skip to content

add finished pod cases

900593f
Select commit
Loading
Failed to load commit list.
Merged

test(kubeclient): add IsFinishedPod test cases #5770

add finished pod cases
900593f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 7, 2026 in 42s

Annotations

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

Check failure on line 235 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