haskell / time

A time library
http://hackage.haskell.org/package/time
Other
119 stars 79 forks source link

FreeBSD CI build failing #164

Closed AshleyYakeley closed 3 years ago

AshleyYakeley commented 3 years ago
    resolution
      getCurrentTime:                                                             FAIL (0.34s)
        test/main/Test/Clock/Resolution.hs:55:
        resolution
        expected: 0.00000028s
         but got: 0.000000001s
      taiClock:                                                                   FAIL (0.60s)
        test/main/Test/Clock/Resolution.hs:55:
        resolution
        expected: 0.00000028s
         but got: 0.000000001s

Clock resolution tests are failing. The reported resolutions are 280ns, while the calculated resolutions are 1ns. The FreeBSD build runs in a VM, so it could be a VM issue.

AshleyYakeley commented 3 years ago

FreeBSD doesn't even have a TAI clock. That has been fixed now.