Skip to content

Commit

Permalink
Perform GracefulClose in Test_Interceptor_BindUnbind
Browse files Browse the repository at this point in the history
  • Loading branch information
aalekseevx committed Dec 24, 2024
1 parent 7e46516 commit 94d8b56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion interceptor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 94d8b56

Please sign in to comment.