Files
mostlymatter/app
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-09-23 08:51:12 +02:00
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-11-17 09:02:36 +05:30
2020-08-20 19:37:19 +05:30
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-11-17 09:02:36 +05:30
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-07-28 10:27:24 +05:30
2020-10-26 15:11:27 +05:30
2020-08-13 11:12:08 +05:30
2020-11-17 09:02:36 +05:30
2020-11-17 09:02:36 +05:30
2020-10-26 15:11:27 +05:30