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
1631c6dd
Commit
1631c6dd
authored
Sep 13, 2016
by
Jeff Lowdermilk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update comment, only skip on missing resource if provider is not gce
parent
915e735d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
petset.go
test/e2e/petset.go
+4
-1
No files found.
test/e2e/petset.go
View file @
1631c6dd
...
@@ -67,10 +67,13 @@ var _ = framework.KubeDescribe("PetSet [Slow] [Feature:PetSet]", func() {
...
@@ -67,10 +67,13 @@ var _ = framework.KubeDescribe("PetSet [Slow] [Feature:PetSet]", func() {
var
c
*
client
.
Client
var
c
*
client
.
Client
BeforeEach
(
func
()
{
BeforeEach
(
func
()
{
// PetSet is in alpha, so it's disabled on all platforms except GCE.
// PetSet is in alpha, so it's disabled on some platforms. We skip this
// test if a resource get fails on non-GCE platforms.
// In theory, tests that restart pets should pass on any platform with a
// In theory, tests that restart pets should pass on any platform with a
// dynamic volume provisioner.
// dynamic volume provisioner.
if
!
framework
.
ProviderIs
(
"gce"
)
{
framework
.
SkipIfMissingResource
(
f
.
ClientPool
,
unversioned
.
GroupVersionResource
{
Group
:
apps
.
GroupName
,
Version
:
"v1alpha1"
,
Resource
:
"petsets"
},
f
.
Namespace
.
Name
)
framework
.
SkipIfMissingResource
(
f
.
ClientPool
,
unversioned
.
GroupVersionResource
{
Group
:
apps
.
GroupName
,
Version
:
"v1alpha1"
,
Resource
:
"petsets"
},
f
.
Namespace
.
Name
)
}
c
=
f
.
Client
c
=
f
.
Client
ns
=
f
.
Namespace
.
Name
ns
=
f
.
Namespace
.
Name
...
...
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