Merge pull request #2329 from hashicorp/f-client-allocated-telemetry
Test fix
This commit is contained in:
commit
63d1ffe75f
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue