Re:Microsoft Exchange stops passing mail due to bug on 1/1/22
by mdavidn on Saturday January 01, 2022 @11:38AM
(#29760014)
One project had tests fail every Saturday and Sunday, near the organization’s fiscal week boundary. Ever since then, I have strived to hard-code all dates in test suites, choosing dates several decades in the future.
[ Parent
| on HN ]
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22
by rbanffy on Saturday January 01, 2022 @02:06PM
(#29761506)
The outcome of tests shouldn’t depend on the time of day. Are these integration tests and you are having to deal with external bugs you can’t fix?
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22
by alisonkisk on Saturday January 01, 2022 @12:20PM
(#29760456)
Doesn't that just hide the bugs? Your tests should pass on any and all date.