Skip to content

Commit 9331960

Browse files
committed
Fix flaky startup probe test
1 parent 201a8a7 commit 9331960

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kubernetes/resource_kubernetes_pod_v1_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,6 @@ func TestAccKubernetesPodV1_config_container_startup_probe(t *testing.T) {
12111211
Config: testAccKubernetesPodV1ContainerStartupProbe(podName, imageName),
12121212
Check: resource.ComposeAggregateTestCheckFunc(
12131213
testAccCheckKubernetesPodV1Exists(resourceName, &confPod),
1214-
resource.TestCheckResourceAttr(resourceName, "metadata.0.generation", "0"),
12151214
resource.TestCheckResourceAttr(resourceName, "spec.0.container.0.startup_probe.0.http_get.0.path", "/index.html"),
12161215
resource.TestCheckResourceAttr(resourceName, "spec.0.container.0.startup_probe.0.http_get.0.port", "80"),
12171216
resource.TestCheckResourceAttr(resourceName, "spec.0.container.0.startup_probe.0.initial_delay_seconds", "1"),

0 commit comments

Comments
 (0)