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
b7e5d885
Commit
b7e5d885
authored
Feb 21, 2024
by
Derek Nola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change default number of etcd nodes in E2E splitserver test
Signed-off-by:
Derek Nola
<
derek.nola@suse.com
>
parent
1c3795d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Vagrantfile
tests/e2e/splitserver/Vagrantfile
+1
-1
splitserver_test.go
tests/e2e/splitserver/splitserver_test.go
+1
-1
No files found.
tests/e2e/splitserver/Vagrantfile
View file @
b7e5d885
ENV
[
'VAGRANT_NO_PARALLEL'
]
=
'no'
ENV
[
'VAGRANT_NO_PARALLEL'
]
=
'no'
NODE_ROLES
=
(
ENV
[
'E2E_NODE_ROLES'
]
||
NODE_ROLES
=
(
ENV
[
'E2E_NODE_ROLES'
]
||
[
"server-etcd-0"
,
"server-cp-0"
,
"server-cp-1"
,
"agent-0"
])
[
"server-etcd-0"
,
"server-
etcd-1"
,
"server-etcd-2"
,
"server-
cp-0"
,
"server-cp-1"
,
"agent-0"
])
NODE_BOXES
=
(
ENV
[
'E2E_NODE_BOXES'
]
||
NODE_BOXES
=
(
ENV
[
'E2E_NODE_BOXES'
]
||
[
'generic/ubuntu2004'
,
'generic/ubuntu2004'
,
'generic/ubuntu2004'
,
'generic/ubuntu2004'
,
'generic/ubuntu2004'
])
[
'generic/ubuntu2004'
,
'generic/ubuntu2004'
,
'generic/ubuntu2004'
,
'generic/ubuntu2004'
,
'generic/ubuntu2004'
])
GITHUB_BRANCH
=
(
ENV
[
'E2E_GITHUB_BRANCH'
]
||
"master"
)
GITHUB_BRANCH
=
(
ENV
[
'E2E_GITHUB_BRANCH'
]
||
"master"
)
...
...
tests/e2e/splitserver/splitserver_test.go
View file @
b7e5d885
...
@@ -15,7 +15,7 @@ import (
...
@@ -15,7 +15,7 @@ import (
// Valid nodeOS: generic/ubuntu2004, opensuse/Leap-15.3.x86_64
// Valid nodeOS: generic/ubuntu2004, opensuse/Leap-15.3.x86_64
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"generic/ubuntu2004"
,
"VM operating system"
)
var
nodeOS
=
flag
.
String
(
"nodeOS"
,
"generic/ubuntu2004"
,
"VM operating system"
)
var
etcdCount
=
flag
.
Int
(
"etcdCount"
,
1
,
"number of server nodes only deploying etcd"
)
var
etcdCount
=
flag
.
Int
(
"etcdCount"
,
3
,
"number of server nodes only deploying etcd"
)
var
controlPlaneCount
=
flag
.
Int
(
"controlPlaneCount"
,
1
,
"number of server nodes acting as control plane"
)
var
controlPlaneCount
=
flag
.
Int
(
"controlPlaneCount"
,
1
,
"number of server nodes acting as control plane"
)
var
agentCount
=
flag
.
Int
(
"agentCount"
,
1
,
"number of agent nodes"
)
var
agentCount
=
flag
.
Int
(
"agentCount"
,
1
,
"number of agent nodes"
)
var
ci
=
flag
.
Bool
(
"ci"
,
false
,
"running on CI"
)
var
ci
=
flag
.
Bool
(
"ci"
,
false
,
"running on CI"
)
...
...
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