Closed RiiD closed 2 years ago
There are cases when event tracking and user properties setting happen at the same time from different threads. But, since the map used in the mock is not thread safe, tests that use it fail unexpectedly. Using the sync.Map should solve the problem.
Will reopen when I test all the functionality.
There are cases when event tracking and user properties setting happen at the same time from different threads. But, since the map used in the mock is not thread safe, tests that use it fail unexpectedly. Using the sync.Map should solve the problem.