=tes #15167 Harden TestTimeSpec
Merge pull request #15637 from akka/wip-15167-TestTimeSpec-patriknw

=tes #15167 Harden TestTimeSpec