Closed mikehelmick closed 2 years ago
Interestingly, this returns 21 even in Rosetta (ARM operating in Intel mode):
arch && go test -run TestRebuildAbusePreventionModel ./pkg/controller/modeler/...
i386
--- FAIL: TestRebuildAbusePreventionModel (0.68s)
modeler_test.go:160: expected 21 to be 22
FAIL
FAIL github.com/google/exposure-notifications-verification-server/pkg/controller/modeler 5.919s
FAIL
TL;DR
One of the modeler tests has a different results on ARM (Apple M1) vs Intel processors.
Expected behavior
Math works the same everywhere
Observed behavior
Math doesn't work the same everywhere
Reproduction
go test ./...
Environment
Mac OS, M1 Pro processor