Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Ensure random test timestamps are within search boundary #38753
Note: This is technically a "forward-port" of 368c6f2, which wasn't merged into master at the time on accident.
The random timestamps were landing too close to the current time, so an unlucky rollup interval would round such that the doc wasn't included in the search range (and thus not "rolled up") which would then fail the test.
The fix is to make sure the timestamp of all docs is sufficiently behind 'now' that the possible rounding intervals will always include them.
Unmutes testRandomizedDateHisto, closes #34762