Skip to content

TestGetElement/Performance unstable when tested with go1.24Β #61

@me-cs

Description

@me-cs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions