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
d08a1481
Commit
d08a1481
authored
Nov 15, 2017
by
Shyam Jeedigunta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add special tag for disabling ESIPP and HPA-related tests on large clusters
parent
28c483e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
16 deletions
+8
-16
horizontal_pod_autoscaling.go
test/e2e/autoscaling/horizontal_pod_autoscaling.go
+2
-1
service.go
test/e2e/network/service.go
+6
-15
No files found.
test/e2e/autoscaling/horizontal_pod_autoscaling.go
View file @
d08a1481
...
...
@@ -66,7 +66,8 @@ var _ = SIGDescribe("[HPA] Horizontal pod autoscaling (scale resource: CPU)", fu
})
})
SIGDescribe
(
"ReplicationController light"
,
func
()
{
// TODO: Get rid of [DisabledForLargeClusters] tag when issue #54637 is fixed.
SIGDescribe
(
"[DisabledForLargeClusters] ReplicationController light"
,
func
()
{
It
(
"Should scale from 1 pod to 2 pods"
,
func
()
{
scaleTest
:=
&
HPAScaleTest
{
initPods
:
1
,
...
...
test/e2e/network/service.go
View file @
d08a1481
...
...
@@ -481,14 +481,10 @@ var _ = SIGDescribe("Services", func() {
}
})
It
(
"should be able to change the type and ports of a service [Slow]"
,
func
()
{
// TODO: Get rid of [DisabledForLargeClusters] tag when issue #52495 is fixed.
It
(
"should be able to change the type and ports of a service [Slow] [DisabledForLargeClusters]"
,
func
()
{
// requires cloud load-balancer support
framework
.
SkipUnlessProviderIs
(
"gce"
,
"gke"
,
"aws"
)
if
framework
.
ProviderIs
(
"gke"
,
"gce"
)
{
// Skipping this test for too large clusters due to issue #52495.
// TODO(MrHohn): Get rid of this when gce-side load-balancer improvements are done.
framework
.
SkipUnlessNodeCountIsAtMost
(
framework
.
GCPMaxInstancesInInstanceGroup
)
}
loadBalancerSupportsUDP
:=
!
framework
.
ProviderIs
(
"aws"
)
...
...
@@ -1403,11 +1399,9 @@ var _ = SIGDescribe("Services", func() {
framework
.
CheckReachabilityFromPod
(
true
,
normalReachabilityTimeout
,
namespace
,
dropPodName
,
svcIP
)
})
It
(
"should be able to create an internal type load balancer [Slow]"
,
func
()
{
// TODO: Get rid of [DisabledForLargeClusters] tag when issue #52495 is fixed.
It
(
"should be able to create an internal type load balancer [Slow] [DisabledForLargeClusters]"
,
func
()
{
framework
.
SkipUnlessProviderIs
(
"azure"
,
"gke"
,
"gce"
)
if
framework
.
ProviderIs
(
"gke"
,
"gce"
)
{
framework
.
SkipUnlessNodeCountIsAtMost
(
framework
.
GCPMaxInstancesInInstanceGroup
)
}
createTimeout
:=
framework
.
LoadBalancerCreateTimeoutDefault
if
nodes
:=
framework
.
GetReadySchedulableNodesOrDie
(
cs
);
len
(
nodes
.
Items
)
>
framework
.
LargeClusterMinNodesNumber
{
...
...
@@ -1491,7 +1485,8 @@ var _ = SIGDescribe("Services", func() {
})
})
var
_
=
SIGDescribe
(
"ESIPP [Slow]"
,
func
()
{
// TODO: Get rid of [DisabledForLargeClusters] tag when issue #52495 is fixed.
var
_
=
SIGDescribe
(
"ESIPP [Slow] [DisabledForLargeClusters]"
,
func
()
{
f
:=
framework
.
NewDefaultFramework
(
"esipp"
)
loadBalancerCreateTimeout
:=
framework
.
LoadBalancerCreateTimeoutDefault
...
...
@@ -1502,10 +1497,6 @@ var _ = SIGDescribe("ESIPP [Slow]", func() {
// requires cloud load-balancer support - this feature currently supported only on GCE/GKE
framework
.
SkipUnlessProviderIs
(
"gce"
,
"gke"
)
// Skipping this test for too large clusters due to issue #52495.
// TODO(MrHohn): Get rid of this when gce-side load-balancer improvements are done.
framework
.
SkipUnlessNodeCountIsAtMost
(
framework
.
GCPMaxInstancesInInstanceGroup
)
cs
=
f
.
ClientSet
if
nodes
:=
framework
.
GetReadySchedulableNodesOrDie
(
cs
);
len
(
nodes
.
Items
)
>
framework
.
LargeClusterMinNodesNumber
{
loadBalancerCreateTimeout
=
framework
.
LoadBalancerCreateTimeoutLarge
...
...
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