From d59ba98314e02be939938f682fd67cd68bbb3b68 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Mon, 26 Sep 2022 09:23:11 +0200 Subject: 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 --- vm/vm_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vm/vm_test.go') 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) -- cgit mrf-deployment