From 8a0739613abe0d35831bdfa0d5fea38effde232f Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Wed, 25 Jan 2017 10:42:11 -0800 Subject: [PATCH] small env fix --- client/driver/driver_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/driver/driver_test.go b/client/driver/driver_test.go index 75db08163..8df6dd19b 100644 --- a/client/driver/driver_test.go +++ b/client/driver/driver_test.go @@ -158,6 +158,7 @@ func setupTaskEnv(t *testing.T, driver string) (*allocdir.TaskDir, map[string]st alloc := mock.Alloc() alloc.Job.TaskGroups[0].Tasks[0] = task alloc.Name = "Bar" + alloc.TaskResources["web"].Networks[0].DynamicPorts[0].Value = 2000 conf := testConfig() allocDir := allocdir.NewAllocDir(testLogger(), filepath.Join(conf.AllocDir, alloc.ID)) taskDir := allocDir.NewTaskDir(task.Name)