Files
mattermost/testlib
Agniva De Sarker 696b9e0872 Optimize CI test runtime
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>
2022-09-06 13:55:06 +05:30
..
2022-09-06 13:55:06 +05:30
2020-01-20 12:32:20 +01:00