Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests seems to be broken in go1.18 #17

Open
cuonglm opened this issue May 19, 2022 · 0 comments
Open

Tests seems to be broken in go1.18 #17

cuonglm opened this issue May 19, 2022 · 0 comments

Comments

@cuonglm
Copy link

cuonglm commented May 19, 2022

Using go1.18.2, I got:

$ go1.18.2 test -race -count=100
--- FAIL: TestBasics (0.00s)
    intern_test.go:91: map len = 4; want 5
--- FAIL: TestBasics (0.00s)
    intern_test.go:91: map len = 4; want 5
--- FAIL: TestBasics (0.00s)
    intern_test.go:91: map len = 4; want 5
--- FAIL: TestBasics (0.00s)
    intern_test.go:41: foo/foo3 pointers differ: 0xc00000e060 - 0xc00000e0d8
--- FAIL: TestBasics (0.00s)
    intern_test.go:91: map len = 4; want 5
--- FAIL: TestBasics (0.00s)
    intern_test.go:41: foo/foo3 pointers differ: 0xc00000e060 - 0xc00000e0d8
FAIL
exit status 1
FAIL	go4.org/intern	80.866s

(I modified the error message for clearer view).

The same test -race -count=100 with go1.17 run successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant