Open IRCody opened 7 years ago
The bug is probably caused by canceled top level processor job. They can go in parallel with ~top level~ publisher job (or at least should) which can increase mock's counter and make whole branch fail early without submitting and working on child nodes.
By the way, please please avoid storing sync.Mutex
as a value anywhere. This can easily cause problems when accidentally copied even if now only pointer to struct
storing it is used, during some refactoring such thing might change.
This test is flaky.