Skip to content

Commit b6b0a11

Browse files
committed
Access to exit channel outside SDK
Signed-off-by: Maksym Pavlenko <[email protected]>
1 parent 1648cd6 commit b6b0a11

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

machine_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,10 @@ func TestStartVMM(t *testing.T) {
373373
t.Errorf("startVMM returned %s", m.Wait(ctx))
374374
}
375375
}
376+
377+
// Make sure exitCh close
378+
_, closed := <-m.exitCh
379+
assert.False(t, closed)
376380
}
377381

378382
func TestStartVMMOnce(t *testing.T) {

0 commit comments

Comments
 (0)