Files
mostlymatter/model
Agniva De Sarker 54938694b2 MM-41209: Fix flaky test CreateRecurringTaskFromNextIntervalTime (#19416)
We were noting down the time of execution of a function and
expected that to match with the exact interval that we set.

However, sometimes in very busy CI environments, the goroutine
does not get a chance to be scheduled at the right time for
the interval to match exactly. Sometimes, we see a delay of
1 second.

To account for this, we increase the interval to 3 seconds,
and consider a 1 second buffer for this. If we see lags of
more than a second, then this test becomes useless and we
would need to remove it entirely.

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

```release-note
NONE
```
2022-01-26 15:28:40 +05:30
..
2022-01-24 15:43:42 -06:00
2022-01-20 17:46:03 -07:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2022-01-20 10:07:27 +05:30
2021-07-21 16:38:39 +02:00
2022-01-20 10:07:27 +05:30