diff options
Diffstat (limited to 'vm/vm_test.go')
| -rw-r--r-- | vm/vm_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vm/vm_test.go b/vm/vm_test.go index 2bcbbc1db..d3429f5f7 100644 --- a/vm/vm_test.go +++ b/vm/vm_test.go @@ -29,6 +29,10 @@ func (pool *testPool) Create(workdir string, index int) (vmimpl.Instance, error) }, nil } +func (pool *testPool) Close() error { + return nil +} + type testInstance struct { outc chan []byte errc chan error @@ -350,6 +354,7 @@ func testMonitorExecution(t *testing.T, test *Test) { if err != nil { t.Fatal(err) } + defer pool.Close() reporter, err := report.NewReporter(cfg) if err != nil { t.Fatal(err) |
