Skip to content

Commit

Permalink
Merge pull request #15766 from danwinship/fix-nodeport-test
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue (batch tested with PRs 16226, 16377, 15766, 16299, 16153)

Fix NodePort test

Pulls in the k8s test utils fix from kubernetes/kubernetes#49025 to make the NodePort test work on non-cloud installs again.

Fixes #15253
  • Loading branch information
openshift-merge-robot authored Sep 18, 2017
2 parents 8452500 + c96875b commit e7ae92c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/extended/networking.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export SHELLOPTS
#
# The EmptyDir test is a canary; it will fail if mount propagation is
# not properly configured on the host.
NETWORKING_E2E_FOCUS="${NETWORKING_E2E_FOCUS:-etworking|Feature:OSNetworkPolicy|EmptyDir volumes should support \(root,0644,tmpfs\)}"
NETWORKING_E2E_FOCUS="${NETWORKING_E2E_FOCUS:-etworking|Services should be able to create a functioning NodePort service|Feature:OSNetworkPolicy|EmptyDir volumes should support \(root,0644,tmpfs\)}"
NETWORKING_E2E_SKIP="${NETWORKING_E2E_SKIP:-}"

DEFAULT_SKIP_LIST=(
Expand Down
3 changes: 0 additions & 3 deletions test/extended/util/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,6 @@ var (
`validates resource limits of pods that are allowed to run`, // SchedulerPredicates
`should idle the service and DeploymentConfig properly`, // idling with a single service and DeploymentConfig [Conformance]

// fails without a cloud provider
"should be able to create a functioning NodePort service",

// TODO undisable:
"should be schedule to node that don't match the PodAntiAffinity terms",
"should perfer to scheduled to nodes pod can tolerate",
Expand Down
4 changes: 4 additions & 0 deletions vendor/k8s.io/kubernetes/test/e2e/framework/service_util.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/k8s.io/kubernetes/test/e2e/service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e7ae92c

Please sign in to comment.