orderedmap
orderedmap copied to clipboard
TestGetElement/Performance unstable when tested with go1.24
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