From 8c39d250ab90ebdeaac8dd90b869638608af8833 Mon Sep 17 00:00:00 2001 From: Kate Taggart Date: Thu, 13 Apr 2017 14:32:52 -0700 Subject: [PATCH] fix test. --- 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 8cd44b331ae..c64ee1e7943 100644 --- a/client/driver/driver_test.go +++ b/client/driver/driver_test.go @@ -88,6 +88,7 @@ type testContext struct { // It is up to the caller to call AllocDir.Destroy to cleanup. func testDriverContexts(t *testing.T, task *structs.Task) *testContext { cfg := testConfig() + cfg.Node = mock.Node() allocDir := allocdir.NewAllocDir(testLogger(), filepath.Join(cfg.AllocDir, structs.GenerateUUID())) if err := allocDir.Build(); err != nil { t.Fatalf("AllocDir.Build() failed: %v", err)