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
d0553c08
Commit
d0553c08
authored
Apr 23, 2015
by
Victor Marmol
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7192 from pmorie/e2e-local-external
Add appropriate skips for E2Es that use createExternalLoadBalancer
parents
54f20151
08e3a5a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
service.go
test/e2e/service.go
+10
-0
No files found.
test/e2e/service.go
View file @
d0553c08
...
@@ -256,6 +256,11 @@ var _ = Describe("Services", func() {
...
@@ -256,6 +256,11 @@ var _ = Describe("Services", func() {
},
240.0
)
},
240.0
)
It
(
"should be able to create a functioning external load balancer"
,
func
()
{
It
(
"should be able to create a functioning external load balancer"
,
func
()
{
if
!
providerIs
(
"gce"
,
"gke"
)
{
By
(
fmt
.
Sprintf
(
"Skipping service external load balancer test; uses createExternalLoadBalancer, a (gce|gke) feature"
))
return
}
serviceName
:=
"external-lb-test"
serviceName
:=
"external-lb-test"
ns
:=
namespace0
ns
:=
namespace0
labels
:=
map
[
string
]
string
{
labels
:=
map
[
string
]
string
{
...
@@ -347,6 +352,11 @@ var _ = Describe("Services", func() {
...
@@ -347,6 +352,11 @@ var _ = Describe("Services", func() {
})
})
It
(
"should correctly serve identically named services in different namespaces on different external IP addresses"
,
func
()
{
It
(
"should correctly serve identically named services in different namespaces on different external IP addresses"
,
func
()
{
if
!
providerIs
(
"gce"
,
"gke"
)
{
By
(
fmt
.
Sprintf
(
"Skipping service namespace collision test; uses createExternalLoadBalancer, a (gce|gke) feature"
))
return
}
serviceNames
:=
[]
string
{
"s0"
}
// Could add more here, but then it takes longer.
serviceNames
:=
[]
string
{
"s0"
}
// Could add more here, but then it takes longer.
namespaces
:=
[]
string
{
namespace0
,
namespace1
}
// As above.
namespaces
:=
[]
string
{
namespace0
,
namespace1
}
// As above.
labels
:=
map
[
string
]
string
{
labels
:=
map
[
string
]
string
{
...
...
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