Skip to content

Commit 429777e

Browse files
author
corneredrat
committed
fux unit tests
1 parent 0731732 commit 429777e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/healthchecker/types/types_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,11 @@ func TestKubeEndpointConfiguration(t *testing.T) {
169169
for key, val := range test.envConfig {
170170
t.Setenv(key, val)
171171
}
172+
setKubeEndpoints()
173+
172174
kubeProxyHCEndpoint := KubeProxyHealthCheckEndpoint()
173175
kubeletHCEndpoint := KubeletHealthCheckEndpoint()
174-
setKubeEndpoints()
176+
175177
assert.Equal(t, kubeProxyHCEndpoint, test.expectedKubeProxyEndpoint)
176178
assert.Equal(t, kubeletHCEndpoint, test.expectedKubeletEndpoint)
177179
})

0 commit comments

Comments
 (0)