mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
This PR makes 2 main changes to the tests: 1. User logins were a huge part of the total CPU time because of the constant hashing of the password. There were 3 logins every time for every `Setup()` call. We remove the `LoginSystemManager` from the Setup call as it wasn't used in a lot of tests, and call that as needed. 2. We add the new app migrations that got added after the last preload optimization was done. This shaves off around 3 mins from the test runtime. They are down from ~18m to ~15m. ```release-note NONE ``` Co-authored-by: Mattermod <mattermod@users.noreply.github.com>