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
ad59fb5e
Commit
ad59fb5e
authored
Apr 15, 2015
by
Robert Bailey
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6817 from timothysc/kube-e2e-shell
Disable shell test for non-gce providers
parents
ce9c100c
0df7309d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
shell.go
test/e2e/shell.go
+8
-0
No files found.
test/e2e/shell.go
View file @
ad59fb5e
...
@@ -35,6 +35,14 @@ var (
...
@@ -35,6 +35,14 @@ var (
var
_
=
Describe
(
"Shell"
,
func
()
{
var
_
=
Describe
(
"Shell"
,
func
()
{
defer
GinkgoRecover
()
defer
GinkgoRecover
()
// A number of scripts only work on gce
if
testContext
.
Provider
!=
"gce"
&&
testContext
.
Provider
!=
"gke"
{
By
(
fmt
.
Sprintf
(
"Skipping Shell test, which is only supported for provider gce and gke (not %s)"
,
testContext
.
Provider
))
return
}
// Slurp up all the tests in hack/e2e-suite
// Slurp up all the tests in hack/e2e-suite
bashE2ERoot
:=
filepath
.
Join
(
root
,
"hack/e2e-suite"
)
bashE2ERoot
:=
filepath
.
Join
(
root
,
"hack/e2e-suite"
)
files
,
err
:=
ioutil
.
ReadDir
(
bashE2ERoot
)
files
,
err
:=
ioutil
.
ReadDir
(
bashE2ERoot
)
...
...
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