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
321313b1
Unverified
Commit
321313b1
authored
Oct 08, 2018
by
k8s-ci-robot
Committed by
GitHub
Oct 08, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #69004 from mgdevstack/master-pods-websocket-conformance
Promote pod's websocket based NodeConformance tests to Conformance
parents
1d2e10c7
78a15ed1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
conformance.txt
test/conformance/testdata/conformance.txt
+2
-0
pods.go
test/e2e/common/pods.go
+14
-2
No files found.
test/conformance/testdata/conformance.txt
View file @
321313b1
...
@@ -111,6 +111,8 @@ test/e2e/common/pods.go: "should be submitted and removed"
...
@@ -111,6 +111,8 @@ test/e2e/common/pods.go: "should be submitted and removed"
test/e2e/common/pods.go: "should be updated"
test/e2e/common/pods.go: "should be updated"
test/e2e/common/pods.go: "should allow activeDeadlineSeconds to be updated"
test/e2e/common/pods.go: "should allow activeDeadlineSeconds to be updated"
test/e2e/common/pods.go: "should contain environment variables for services"
test/e2e/common/pods.go: "should contain environment variables for services"
test/e2e/common/pods.go: "should support remote command execution over websockets"
test/e2e/common/pods.go: "should support retrieving logs from the container over websockets"
test/e2e/common/projected.go: "should be consumable from pods in volume"
test/e2e/common/projected.go: "should be consumable from pods in volume"
test/e2e/common/projected.go: "should be consumable from pods in volume with defaultMode set"
test/e2e/common/projected.go: "should be consumable from pods in volume with defaultMode set"
test/e2e/common/projected.go: "should be consumable from pods in volume as non-root with defaultMode and fsGroup set"
test/e2e/common/projected.go: "should be consumable from pods in volume as non-root with defaultMode and fsGroup set"
...
...
test/e2e/common/pods.go
View file @
321313b1
...
@@ -472,7 +472,13 @@ var _ = framework.KubeDescribe("Pods", func() {
...
@@ -472,7 +472,13 @@ var _ = framework.KubeDescribe("Pods", func() {
},
maxRetries
,
"Container should have service environment variables set"
)
},
maxRetries
,
"Container should have service environment variables set"
)
})
})
It
(
"should support remote command execution over websockets [NodeConformance]"
,
func
()
{
/*
Release : v1.13
Testname: Pods, remote command execution over websocket
Description: A Pod is created. Websocket is created to retrieve exec command output from this pod.
Message retrieved form Websocket MUST match with expected exec command output.
*/
framework
.
ConformanceIt
(
"should support remote command execution over websockets [NodeConformance]"
,
func
()
{
config
,
err
:=
framework
.
LoadConfig
()
config
,
err
:=
framework
.
LoadConfig
()
Expect
(
err
)
.
NotTo
(
HaveOccurred
(),
"unable to get base config"
)
Expect
(
err
)
.
NotTo
(
HaveOccurred
(),
"unable to get base config"
)
...
@@ -548,7 +554,13 @@ var _ = framework.KubeDescribe("Pods", func() {
...
@@ -548,7 +554,13 @@ var _ = framework.KubeDescribe("Pods", func() {
},
time
.
Minute
,
10
*
time
.
Second
)
.
Should
(
BeNil
())
},
time
.
Minute
,
10
*
time
.
Second
)
.
Should
(
BeNil
())
})
})
It
(
"should support retrieving logs from the container over websockets [NodeConformance]"
,
func
()
{
/*
Release : v1.13
Testname: Pods, logs from websockets
Description: A Pod is created. Websocket is created to retrieve log of a container from this pod.
Message retrieved form Websocket MUST match with container's output.
*/
framework
.
ConformanceIt
(
"should support retrieving logs from the container over websockets [NodeConformance]"
,
func
()
{
config
,
err
:=
framework
.
LoadConfig
()
config
,
err
:=
framework
.
LoadConfig
()
Expect
(
err
)
.
NotTo
(
HaveOccurred
(),
"unable to get base config"
)
Expect
(
err
)
.
NotTo
(
HaveOccurred
(),
"unable to get base config"
)
...
...
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