orderedmap icon indicating copy to clipboard operation
orderedmap copied to clipboard

TestGetElement/Performance unstable when tested with go1.24

Open me-cs opened this issue 10 months ago • 0 comments

I'm using go test -v github.com/elliotchance/orderedmap with go1.24 The test occasionally fails with the function TestGetElement/Performance, and the log is as follows,

=== RUN TestGetElement/Performance orderedmap_test.go:354: Error Trace: /root/go/pkg/mod/github.com/elliotchance/[email protected]/orderedmap_test.go:354 Error: Max difference between 48 and 79 allowed is 24, but difference was -31 Test: TestGetElement/Performance

me-cs avatar Apr 11 '25 01:04 me-cs