client: Update tests for async destroy

This commit is contained in:
Danielle Tomlinson
2018-12-18 23:38:28 +01:00
parent 502f36335e
commit f619db297f

View File

@@ -642,7 +642,7 @@ func TestClient_SaveRestoreState(t *testing.T) {
}
for _, ar := range c2.getAllocRunners() {
<-ar.WaitCh()
<-ar.DestroyCh()
}
}
@@ -780,7 +780,7 @@ func TestClient_BlockedAllocations(t *testing.T) {
}
for _, ar := range c1.getAllocRunners() {
<-ar.WaitCh()
<-ar.DestroyCh()
}
}