From 364a831e14532add3d0291773eed44cbc568a7a8 Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Wed, 19 Aug 2015 15:13:51 +0200 Subject: [PATCH] Declare e2e NodePort test container port The port 80 of the test webserver was not specified in the container spec. This patch add the declaration. Fixes https://github.com/mesosphere/kubernetes-mesos/issues/365 --- test/e2e/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/service.go b/test/e2e/service.go index e99ec341121..0eb95a2c2cc 100644 --- a/test/e2e/service.go +++ b/test/e2e/service.go @@ -1467,7 +1467,7 @@ func (t *WebserverTest) BuildServiceSpec() *api.Service { // CreateWebserverRC creates rc-backed pods with the well-known webserver // configuration and records it for cleanup. func (t *WebserverTest) CreateWebserverRC(replicas int) *api.ReplicationController { - rcSpec := rcByName(t.name, replicas, t.image, t.Labels) + rcSpec := rcByNamePort(t.name, replicas, t.image, 80, t.Labels) rcAct, err := t.createRC(rcSpec) if err != nil { Failf("Failed to create rc %s: %v", rcSpec.Name, err)