Files
mostlymatter/api4
Agniva De Sarker 221f70a6cb MM-29487: Fix racy TestMuteCommandSpecificChannel (#16290)
The code was doing `go fakeApp.UpdateProductNotices()`
due to which the Store object was accessed in a racy manner
when it was reset if the localcachelayer flag was set.

We fix this by using the StoreOverride functionality
to pre-define what store to use while initializing the server
itself so that there isn't a need to reset the store _after_
the server is set.

We also apply the same fix in the app and api4 layers too
to prevent similar things from happening there.

https://mattermost.atlassian.net/browse/MM-29487

```release-note
NONE
```

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2020-11-17 21:13:35 +05:30
..
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-04-08 00:52:30 -04:00
2020-10-13 15:35:19 +02:00
2020-08-21 16:49:31 -04:00
2020-11-06 17:56:56 -07:00
2020-11-17 09:02:36 +05:30
2020-04-08 00:52:30 -04:00
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-11-04 10:14:08 +01:00
2020-04-08 00:52:30 -04:00
2020-10-26 15:11:27 +05:30