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
324f9ad4
Unverified
Commit
324f9ad4
authored
Jul 03, 2023
by
Ian Cardoso
Committed by
GitHub
Jul 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix e2e startup flaky test (#7839)
Signed-off-by:
Ian Cardoso
<
osodracnai@gmail.com
>
parent
72d50b1f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
startup_test.go
tests/e2e/startup/startup_test.go
+5
-2
No files found.
tests/e2e/startup/startup_test.go
View file @
324f9ad4
...
...
@@ -257,9 +257,12 @@ var _ = Describe("Various Startup Configurations", Ordered, func() {
tokenYAML
:=
"token: aaaaaa.bbbbbbbbbbbbbbbb"
err
:=
StartK3sCluster
(
append
(
serverNodeNames
,
agentNodeNames
...
),
tokenYAML
,
tokenYAML
)
Expect
(
err
)
.
To
(
HaveOccurred
())
Eventually
(
func
(
g
Gomega
)
{
logs
,
err
:=
e2e
.
GetJournalLogs
(
serverNodeNames
[
0
])
Expect
(
err
)
.
NotTo
(
HaveOccurred
())
Expect
(
logs
)
.
To
(
ContainSubstring
(
"failed to normalize server token"
))
g
.
Expect
(
err
)
.
NotTo
(
HaveOccurred
())
g
.
Expect
(
logs
)
.
To
(
ContainSubstring
(
"failed to normalize server token"
))
},
"120s"
,
"5s"
)
.
Should
(
Succeed
())
})
It
(
"Kills the cluster"
,
func
()
{
err
:=
KillK3sCluster
(
append
(
serverNodeNames
,
agentNodeNames
...
))
...
...
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