mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
client: Update tests for async destroy
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user