aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm_test.go
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2022-09-26 09:23:11 +0200
committerGitHub <noreply@github.com>2022-09-26 09:23:11 +0200
commitd59ba98314e02be939938f682fd67cd68bbb3b68 (patch)
tree27a44d1d8315577110c0c9e09fb825a386b6255b /vm/vm_test.go
parent0042f2b4c00ce1ceeaa44a0147909fe3a6f86c5c (diff)
vm: add the proxyapp support (#3269)
* vm: add pool.Close() support * vm: add proxyapp client implementation * vm/proxyapp: autogenerate mocks * vm/proxyapp: add proxyapp tests * pkg/mgrconfig: add proxyapp type tests
Diffstat (limited to 'vm/vm_test.go')
-rw-r--r--vm/vm_test.go5
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)