Skip to content

Commit 413a6d6

Browse files
authored
refinement
Signed-off-by: Malthe Poulsen <30603252+malpou@users.noreply.github.com>
1 parent 582c8fa commit 413a6d6

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tests/checks/placeholder_pages/placeholder_pages_test.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ type templateData struct {
2424
}
2525

2626
const testTemplate = `
27-
apiVersion: v1
28-
kind: Namespace
29-
metadata:
30-
name: {{.TestNamespace}}
31-
---
3227
apiVersion: apps/v1
3328
kind: Deployment
3429
metadata:
@@ -124,8 +119,8 @@ spec:
124119
assert.True(t, WaitForPodCountInNamespace(t, kc, testNamespace, 1, 30, 2),
125120
"curl client pod should be ready")
126121

127-
// Give pod time to fully initialize
128-
_, _ = ExecuteCommand("sleep 5")
122+
// Give container time to fully initialize
123+
_, _ = ExecuteCommand("sleep 2")
129124

130125
// Test placeholder response
131126
testPlaceholderResponse(t, kc)

0 commit comments

Comments
 (0)