MDL-69419 core: Task reset tests cannot use random test times
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 19 Aug 2020 02:25:17 +0000 (10:25 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Wed, 26 Aug 2020 01:58:35 +0000 (09:58 +0800)
commit0400b5ef3f9fba6a37d6bf764f74d7e9675e67d0
tree86d97670e67c411e2435e0f811aea7655fcd33ea
parent89d8f737037153fcda26673d9af8e7f2b20e7028
MDL-69419 core: Task reset tests cannot use random test times

If a scheduled task which uses a 'R' field is picked, then the reset of
updated task times will not necessarily be correctly determined as the
randomisation is picked during reset.

This can lead to some random test failures.

Actively specifying a test which does not make use of the 'R' random
field time addresses this issue.
lib/tests/scheduled_task_test.php