You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce: make test / go test -v / go test -v -race
Some of the tests fail randomly with t.Errorf("timeout") when trying to receive a new message from the subscriber channel.
Explanation:
A message is sent to the SendChan just after the subscriber with a RecvChan has been created.
I guess that the subscriber doesn't have enough time to run its internal go-routine and the message sent in the unit test is lost.
New functions like NewSubChanneler should exit only after the go-routine in the subscriber is polling new messages from the zeromq sock.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
make test
/go test -v
/go test -v -race
Some of the tests fail randomly with
t.Errorf("timeout")
when trying to receive a new message from the subscriber channel.Explanation:
A message is sent to the
SendChan
just after the subscriber with aRecvChan
has been created.I guess that the subscriber doesn't have enough time to run its internal go-routine and the message sent in the unit test is lost.
New functions like
NewSubChanneler
should exit only after the go-routine in the subscriber is polling new messages from the zeromq sock.The text was updated successfully, but these errors were encountered: