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
2724f08b
Commit
2724f08b
authored
Feb 06, 2025
by
Derek Nola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix various E2E test function names and descriptions
Signed-off-by:
Derek Nola
<
derek.nola@suse.com
>
parent
538131b6
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
10 deletions
+9
-10
snapshotrestore_test.go
tests/docker/snapshotrestore/snapshotrestore_test.go
+1
-2
autoimport_test.go
tests/e2e/autoimport/autoimport_test.go
+1
-1
btrfs_test.go
tests/e2e/btrfs/btrfs_test.go
+1
-1
embeddedmirror_test.go
tests/e2e/embeddedmirror/embeddedmirror_test.go
+2
-2
privateregistry_test.go
tests/e2e/privateregistry/privateregistry_test.go
+1
-1
rootless_test.go
tests/e2e/rootless/rootless_test.go
+2
-2
s3_test.go
tests/e2e/s3/s3_test.go
+1
-1
No files found.
tests/docker/snapshotrestore/snapshotrestore_test.go
View file @
2724f08b
...
...
@@ -13,7 +13,6 @@ import (
"k8s.io/utils/set"
)
var
k3sImage
=
flag
.
String
(
"k3sImage"
,
"rancher/systemd-node"
,
"The image used to provision containers"
)
var
serverCount
=
flag
.
Int
(
"serverCount"
,
3
,
"number of server nodes"
)
var
agentCount
=
flag
.
Int
(
"agentCount"
,
1
,
"number of agent nodes"
)
var
ci
=
flag
.
Bool
(
"ci"
,
false
,
"running on CI"
)
...
...
@@ -31,7 +30,7 @@ var _ = Describe("Verify snapshots and cluster restores work", Ordered, func() {
Context
(
"Setup Cluster"
,
func
()
{
It
(
"should provision servers and agents"
,
func
()
{
var
err
error
config
,
err
=
tester
.
NewTestConfig
(
*
k3sImage
)
config
,
err
=
tester
.
NewTestConfig
(
"rancher/systemd-node"
)
Expect
(
err
)
.
NotTo
(
HaveOccurred
())
Expect
(
config
.
ProvisionServers
(
*
serverCount
))
.
To
(
Succeed
())
Expect
(
config
.
ProvisionAgents
(
*
agentCount
))
.
To
(
Succeed
())
...
...
tests/e2e/autoimport/autoimport_test.go
View file @
2724f08b
...
...
@@ -28,7 +28,7 @@ func Test_E2EAutoImport(t *testing.T) {
RegisterFailHandler
(
Fail
)
flag
.
Parse
()
suiteConfig
,
reporterConfig
:=
GinkgoConfiguration
()
RunSpecs
(
t
,
"
Create Cluster
Test Suite"
,
suiteConfig
,
reporterConfig
)
RunSpecs
(
t
,
"
Auto Import
Test Suite"
,
suiteConfig
,
reporterConfig
)
}
var
tc
*
e2e
.
TestConfig
...
...
tests/e2e/btrfs/btrfs_test.go
View file @
2724f08b
package
rotateca
package
btrfs
import
(
"flag"
...
...
tests/e2e/embeddedmirror/embeddedmirror_test.go
View file @
2724f08b
...
...
@@ -25,11 +25,11 @@ var local = flag.Bool("local", false, "deploy a locally built K3s binary")
// E2E_RELEASE_VERSION=v1.23.1+k3s2 (default: latest commit from master)
// E2E_REGISTRY: true/false (default: false)
func
Test_E2E
PrivateRegistry
(
t
*
testing
.
T
)
{
func
Test_E2E
EmbeddedMirror
(
t
*
testing
.
T
)
{
RegisterFailHandler
(
Fail
)
flag
.
Parse
()
suiteConfig
,
reporterConfig
:=
GinkgoConfiguration
()
RunSpecs
(
t
,
"
Create Cluste
r Test Suite"
,
suiteConfig
,
reporterConfig
)
RunSpecs
(
t
,
"
Embedded Mirro
r Test Suite"
,
suiteConfig
,
reporterConfig
)
}
var
tc
*
e2e
.
TestConfig
...
...
tests/e2e/privateregistry/privateregistry_test.go
View file @
2724f08b
...
...
@@ -31,7 +31,7 @@ func Test_E2EPrivateRegistry(t *testing.T) {
RegisterFailHandler
(
Fail
)
flag
.
Parse
()
suiteConfig
,
reporterConfig
:=
GinkgoConfiguration
()
RunSpecs
(
t
,
"
Create Cluster
Test Suite"
,
suiteConfig
,
reporterConfig
)
RunSpecs
(
t
,
"
Private Registry
Test Suite"
,
suiteConfig
,
reporterConfig
)
}
var
tc
*
e2e
.
TestConfig
...
...
tests/e2e/rootless/rootless_test.go
View file @
2724f08b
...
...
@@ -22,11 +22,11 @@ var local = flag.Bool("local", false, "deploy a locally built K3s binary")
// Environment Variables Info:
// E2E_RELEASE_VERSION=v1.27.1+k3s2 or nil for latest commit from master
func
Test_E2ERootless
StartupValidation
(
t
*
testing
.
T
)
{
func
Test_E2ERootless
(
t
*
testing
.
T
)
{
RegisterFailHandler
(
Fail
)
flag
.
Parse
()
suiteConfig
,
reporterConfig
:=
GinkgoConfiguration
()
RunSpecs
(
t
,
"
Startup
Test Suite"
,
suiteConfig
,
reporterConfig
)
RunSpecs
(
t
,
"
Rootless
Test Suite"
,
suiteConfig
,
reporterConfig
)
}
var
tc
*
e2e
.
TestConfig
...
...
tests/e2e/s3/s3_test.go
View file @
2724f08b
...
...
@@ -29,7 +29,7 @@ func Test_E2ES3(t *testing.T) {
RegisterFailHandler
(
Fail
)
flag
.
Parse
()
suiteConfig
,
reporterConfig
:=
GinkgoConfiguration
()
RunSpecs
(
t
,
"
Create Cluster
Test Suite"
,
suiteConfig
,
reporterConfig
)
RunSpecs
(
t
,
"
S3 Snapshot
Test Suite"
,
suiteConfig
,
reporterConfig
)
}
var
tc
*
e2e
.
TestConfig
...
...
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