add context tests

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2022-04-17 16:25:42 +03:00
parent 11b614f2df
commit 8b1a579c9d
16 changed files with 659 additions and 1 deletions

View File

@@ -281,7 +281,7 @@ func (n *noopServer) Deregister() error {
if sb.Options().Context != nil {
cx = sb.Options().Context
}
ncx := cx
wg.Add(1)
go func(s broker.Subscriber) {