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
fe5d7c7c
Unverified
Commit
fe5d7c7c
authored
Dec 07, 2018
by
Kubernetes Prow Robot
Committed by
GitHub
Dec 07, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #71543 from MrHohn/e2e-fw-test-timeout
[e2e] Bump firewall test timeout to something more reasonable
parents
9a9497d7
aaafb216
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
firewall.go
test/e2e/network/firewall.go
+3
-3
No files found.
test/e2e/network/firewall.go
View file @
fe5d7c7c
...
...
@@ -131,7 +131,7 @@ var _ = SIGDescribe("Firewall rule", func() {
// Send requests from outside of the cluster because internal traffic is whitelisted
By
(
"Accessing the external service ip from outside, all non-master nodes should be reached"
)
Expect
(
framework
.
TestHitNodesFromOutside
(
svcExternalIP
,
gce
.
FirewallTestHttpPort
,
gce
.
Firewall
TimeoutDefault
,
nodesSet
))
.
NotTo
(
HaveOccurred
())
Expect
(
framework
.
TestHitNodesFromOutside
(
svcExternalIP
,
gce
.
FirewallTestHttpPort
,
framework
.
LoadBalancerCreate
TimeoutDefault
,
nodesSet
))
.
NotTo
(
HaveOccurred
())
// Check if there are overlapping tags on the firewall that extend beyond just the vms in our cluster
// by removing the tag on one vm and make sure it doesn't get any traffic. This is an imperfect
...
...
@@ -151,11 +151,11 @@ var _ = SIGDescribe("Firewall rule", func() {
nodesSet
.
Insert
(
nodesNames
[
0
])
gce
.
SetInstanceTags
(
cloudConfig
,
nodesNames
[
0
],
zone
,
removedTags
)
// Make sure traffic is recovered before exit
Expect
(
framework
.
TestHitNodesFromOutside
(
svcExternalIP
,
gce
.
FirewallTestHttpPort
,
gce
.
Firewall
TimeoutDefault
,
nodesSet
))
.
NotTo
(
HaveOccurred
())
Expect
(
framework
.
TestHitNodesFromOutside
(
svcExternalIP
,
gce
.
FirewallTestHttpPort
,
framework
.
LoadBalancerCreate
TimeoutDefault
,
nodesSet
))
.
NotTo
(
HaveOccurred
())
}()
By
(
"Accessing serivce through the external ip and examine got no response from the node without tags"
)
Expect
(
framework
.
TestHitNodesFromOutsideWithCount
(
svcExternalIP
,
gce
.
FirewallTestHttpPort
,
gce
.
Firewall
TimeoutDefault
,
nodesSet
,
15
))
.
NotTo
(
HaveOccurred
())
Expect
(
framework
.
TestHitNodesFromOutsideWithCount
(
svcExternalIP
,
gce
.
FirewallTestHttpPort
,
framework
.
LoadBalancerCreate
TimeoutDefault
,
nodesSet
,
15
))
.
NotTo
(
HaveOccurred
())
})
It
(
"should have correct firewall rules for e2e cluster"
,
func
()
{
...
...
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