From 693d89d51c19e3c62e5c01b8bbdbcce1f375d23f Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Tue, 14 Mar 2017 17:14:40 -0700 Subject: [PATCH] Fix test by adding new env vars --- client/driver/driver_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/driver/driver_test.go b/client/driver/driver_test.go index 19f7eae38..42fc84272 100644 --- a/client/driver/driver_test.go +++ b/client/driver/driver_test.go @@ -180,6 +180,10 @@ func setupTaskEnv(t *testing.T, driver string) (*allocdir.TaskDir, map[string]st "NOMAD_ADDR_admin": "1.2.3.4:8081", "NOMAD_ADDR_web_main": "192.168.0.100:5000", "NOMAD_ADDR_web_http": "192.168.0.100:2000", + "NOMAD_IP_web_main": "192.168.0.100", + "NOMAD_IP_web_http": "192.168.0.100", + "NOMAD_PORT_web_http": "2000", + "NOMAD_PORT_web_main": "5000", "NOMAD_IP_admin": "1.2.3.4", "NOMAD_PORT_admin": "8081", "NOMAD_HOST_PORT_admin": "8081",