From 8740fb4bbec1e3ecfd320a6ce1012f7a7ed6a6fc Mon Sep 17 00:00:00 2001 From: Shrenuj Bansal Date: Fri, 11 Nov 2022 16:41:01 -0500 Subject: [PATCH] remove 2nd rpc closer call --- itests/kit/ensemble.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/itests/kit/ensemble.go b/itests/kit/ensemble.go index 6e0f59ec8..29b8416cb 100644 --- a/itests/kit/ensemble.go +++ b/itests/kit/ensemble.go @@ -467,11 +467,10 @@ func (n *Ensemble) Start() *Ensemble { withRPC, rpcCloser := fullRpc(n.t, full) n.inactive.fullnodes[i] = withRPC full.Stop = func(ctx2 context.Context) error { - //rpcCloser() rpcShutdownOnce.Do(rpcCloser) return stop(ctx) } - n.t.Cleanup(func() { rpcShutdownOnce.Do(rpcCloser) }) + //n.t.Cleanup(func() { rpcShutdownOnce.Do(rpcCloser) }) } n.t.Cleanup(func() {