This commit is contained in:
Alex Dadgar 2017-02-16 18:42:16 -08:00
parent 6337d2e359
commit 4223eb25eb
1 changed files with 1 additions and 1 deletions

View File

@ -903,7 +903,7 @@ func TestClient_UnarchiveAllocDir(t *testing.T) {
rc := ioutil.NopCloser(buf)
c1.migratingAllocs["123"] = newMigrateAllocCtrl()
c1.migratingAllocs["123"] = newMigrateAllocCtrl(mock.Alloc())
if err := c1.unarchiveAllocDir(rc, "123", dir1); err != nil {
t.Fatalf("err: %v", err)
}