From 94d8b56a07cb770be30b8460875a1fba8a3b0e4a Mon Sep 17 00:00:00 2001 From: Aleksandr Alekseev Date: Tue, 24 Dec 2024 16:20:48 +0300 Subject: [PATCH] Perform GracefulClose in Test_Interceptor_BindUnbind --- interceptor_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interceptor_test.go b/interceptor_test.go index aff8b67573c..a2484c27387 100644 --- a/interceptor_test.go +++ b/interceptor_test.go @@ -187,7 +187,8 @@ func Test_Interceptor_BindUnbind(t *testing.T) { } }() - closePairNow(t, sender, receiver) + assert.NoError(t, sender.GracefulClose()) + assert.NoError(t, receiver.GracefulClose()) // Bind/UnbindLocal/RemoteStream should be called from one side. if cnt := atomic.LoadUint32(&cntBindLocalStream); cnt != 1 {