mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* MM-30988 - Fix racy test ServerSystemdNotification The translateFunc is a global variable which was unguarded. So we convert that into an atomic variable to prevent against races. https://mattermost.atlassian.net/browse/MM-30988 ```release-note NONE ``` * fix tests * move call upwards * use race * after translations init * guard with a sync.Once * missed import * revert race * update timeout