Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
6873bccf
Commit
6873bccf
authored
Feb 20, 2025
by
Brad Davidson
Committed by
Brad Davidson
Feb 20, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e2e: wait for deployments before getting logs
Signed-off-by:
Brad Davidson
<
brad.davidson@rancher.com
>
parent
b5d97fb2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
startup_test.go
tests/e2e/startup/startup_test.go
+12
-0
No files found.
tests/e2e/startup/startup_test.go
View file @
6873bccf
...
@@ -127,6 +127,9 @@ var _ = Describe("Various Startup Configurations", Ordered, func() {
...
@@ -127,6 +127,9 @@ var _ = Describe("Various Startup Configurations", Ordered, func() {
Eventually
(
func
()
error
{
Eventually
(
func
()
error
{
return
tests
.
AllPodsUp
(
tc
.
KubeConfigFile
)
return
tests
.
AllPodsUp
(
tc
.
KubeConfigFile
)
},
"360s"
,
"5s"
)
.
Should
(
Succeed
())
},
"360s"
,
"5s"
)
.
Should
(
Succeed
())
Eventually
(
func
()
error
{
return
tests
.
CheckDeployments
([]
string
{
"coredns"
,
"local-path-provisioner"
,
"metrics-server"
},
tc
.
KubeConfigFile
)
},
"300s"
,
"10s"
)
.
Should
(
Succeed
())
e2e
.
DumpPods
(
tc
.
KubeConfigFile
)
e2e
.
DumpPods
(
tc
.
KubeConfigFile
)
})
})
...
@@ -187,6 +190,9 @@ var _ = Describe("Various Startup Configurations", Ordered, func() {
...
@@ -187,6 +190,9 @@ var _ = Describe("Various Startup Configurations", Ordered, func() {
Eventually
(
func
()
error
{
Eventually
(
func
()
error
{
return
tests
.
AllPodsUp
(
tc
.
KubeConfigFile
)
return
tests
.
AllPodsUp
(
tc
.
KubeConfigFile
)
},
"360s"
,
"5s"
)
.
Should
(
Succeed
())
},
"360s"
,
"5s"
)
.
Should
(
Succeed
())
Eventually
(
func
()
error
{
return
tests
.
CheckDefaultDeployments
(
tc
.
KubeConfigFile
)
},
"300s"
,
"10s"
)
.
Should
(
Succeed
())
e2e
.
DumpPods
(
tc
.
KubeConfigFile
)
e2e
.
DumpPods
(
tc
.
KubeConfigFile
)
})
})
It
(
"Kills the cluster"
,
func
()
{
It
(
"Kills the cluster"
,
func
()
{
...
@@ -220,6 +226,9 @@ var _ = Describe("Various Startup Configurations", Ordered, func() {
...
@@ -220,6 +226,9 @@ var _ = Describe("Various Startup Configurations", Ordered, func() {
Eventually
(
func
()
error
{
Eventually
(
func
()
error
{
return
tests
.
AllPodsUp
(
tc
.
KubeConfigFile
)
return
tests
.
AllPodsUp
(
tc
.
KubeConfigFile
)
},
"360s"
,
"5s"
)
.
Should
(
Succeed
())
},
"360s"
,
"5s"
)
.
Should
(
Succeed
())
Eventually
(
func
()
error
{
return
tests
.
CheckDefaultDeployments
(
tc
.
KubeConfigFile
)
},
"300s"
,
"10s"
)
.
Should
(
Succeed
())
e2e
.
DumpPods
(
tc
.
KubeConfigFile
)
e2e
.
DumpPods
(
tc
.
KubeConfigFile
)
})
})
It
(
"Kills the cluster"
,
func
()
{
It
(
"Kills the cluster"
,
func
()
{
...
@@ -253,6 +262,9 @@ var _ = Describe("Various Startup Configurations", Ordered, func() {
...
@@ -253,6 +262,9 @@ var _ = Describe("Various Startup Configurations", Ordered, func() {
Eventually
(
func
()
error
{
Eventually
(
func
()
error
{
return
tests
.
AllPodsUp
(
tc
.
KubeConfigFile
)
return
tests
.
AllPodsUp
(
tc
.
KubeConfigFile
)
},
"360s"
,
"5s"
)
.
Should
(
Succeed
())
},
"360s"
,
"5s"
)
.
Should
(
Succeed
())
Eventually
(
func
()
error
{
return
tests
.
CheckDefaultDeployments
(
tc
.
KubeConfigFile
)
},
"300s"
,
"10s"
)
.
Should
(
Succeed
())
e2e
.
DumpPods
(
tc
.
KubeConfigFile
)
e2e
.
DumpPods
(
tc
.
KubeConfigFile
)
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment