File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ func TestCaller_CallNode(t *testing.T) {
58
58
log .Debugf ("GConf: %#v" , conf .GConf )
59
59
// reset the once
60
60
route .Once .Reset ()
61
+ _ = GetSessionPoolInstance ().Close ()
61
62
route .InitKMS (publicKeyStore )
62
63
63
64
addr := conf .GConf .ListenAddr // see ../test/node_standalone/config.yaml
@@ -189,6 +190,7 @@ func TestNewPersistentCaller(t *testing.T) {
189
190
log .Debugf ("GConf: %#v" , conf .GConf )
190
191
// reset the once
191
192
route .Once .Reset ()
193
+ _ = GetSessionPoolInstance ().Close ()
192
194
route .InitKMS (publicKeyStore )
193
195
194
196
addr := conf .GConf .ListenAddr // see ../test/node_standalone/config.yaml
@@ -335,6 +337,7 @@ func BenchmarkPersistentCaller_CallKayakLog(b *testing.B) {
335
337
log .Debugf ("GConf: %#v" , conf .GConf )
336
338
// reset the once
337
339
route .Once .Reset ()
340
+ _ = GetSessionPoolInstance ().Close ()
338
341
route .InitKMS (publicKeyStore )
339
342
340
343
addr := conf .GConf .ListenAddr
@@ -411,6 +414,7 @@ func BenchmarkPersistentCaller_Call(b *testing.B) {
411
414
log .Debugf ("GConf: %#v" , conf .GConf )
412
415
// reset the once
413
416
route .Once .Reset ()
417
+ _ = GetSessionPoolInstance ().Close ()
414
418
route .InitKMS (publicKeyStore )
415
419
416
420
addr := conf .GConf .ListenAddr // see ../test/node_standalone/config.yaml
You can’t perform that action at this time.
0 commit comments