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
418ab026
Commit
418ab026
authored
Jun 16, 2015
by
Saad Ali
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9839 from lavalamp/logSpam
remove broken ginkgo Done concept from tests
parents
a1e3e536
1fb90686
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
service.go
test/e2e/service.go
+4
-14
No files found.
test/e2e/service.go
View file @
418ab026
...
...
@@ -72,7 +72,7 @@ var _ = Describe("Services", func() {
Expect
(
err
)
.
NotTo
(
HaveOccurred
())
})
It
(
"should serve a basic endpoint from pods"
,
func
(
done
Done
)
{
It
(
"should serve a basic endpoint from pods"
,
func
()
{
serviceName
:=
"endpoint-test2"
ns
:=
namespaces
[
0
]
labels
:=
map
[
string
]
string
{
...
...
@@ -133,14 +133,9 @@ var _ = Describe("Services", func() {
names
=
[]
string
{}
validateEndpointsOrFail
(
c
,
ns
,
serviceName
,
map
[
string
][]
int
{})
})
// We deferred Gingko pieces that may Fail, we aren't done.
defer
func
()
{
close
(
done
)
}()
},
240.0
)
It
(
"should serve multiport endpoints from pods"
,
func
(
done
Done
)
{
It
(
"should serve multiport endpoints from pods"
,
func
()
{
// repacking functionality is intentionally not tested here - it's better to test it in an integration test.
serviceName
:=
"multi-endpoint-test"
ns
:=
namespaces
[
0
]
...
...
@@ -234,12 +229,7 @@ var _ = Describe("Services", func() {
names
=
[]
string
{}
validateEndpointsOrFail
(
c
,
ns
,
serviceName
,
map
[
string
][]
int
{})
// We deferred Gingko pieces that may Fail, we aren't done.
defer
func
()
{
close
(
done
)
}()
},
240.0
)
})
It
(
"should be able to create a functioning external load balancer"
,
func
()
{
if
!
providerIs
(
"gce"
,
"gke"
,
"aws"
)
{
...
...
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