Skip to content

Commit 5cd1fd5

Browse files
authored
Update vizzini for cf-d with a default of not having any unproxied ports. these env vars are tested in executor units (cloudfoundry#13)
1 parent 729dacb commit 5cd1fd5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

container_environment_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package vizzini_test
22

33
import (
44
"encoding/json"
5-
"fmt"
65
"net/http"
76

87
"code.cloudfoundry.org/bbs/models"
@@ -67,8 +66,6 @@ var _ = Describe("The container environment", func() {
6766

6867
envs := getEnvs(url)
6968
Expect(envs).To(ContainElement([]string{"CF_INSTANCE_IP", actualLRP.Address}), "If this fails, then your executor may not be configured to expose ip:port to the container")
70-
Expect(envs).To(ContainElement([]string{"CF_INSTANCE_PORT", fmt.Sprintf("%d", actualLRP.Ports[0].HostPort)}))
71-
Expect(envs).To(ContainElement([]string{"CF_INSTANCE_ADDR", fmt.Sprintf("%s:%d", actualLRP.Address, actualLRP.Ports[0].HostPort)}))
7269
Expect(envs).To(ContainElement([]string{"CF_INSTANCE_PORTS", string(cfPortMappingPayload)}))
7370
})
7471

0 commit comments

Comments
 (0)