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

UT in package net is always killed with -race #447

Open
djshow832 opened this issue Jan 4, 2024 · 0 comments
Open

UT in package net is always killed with -race #447

djshow832 opened this issue Jan 4, 2024 · 0 comments

Comments

@djshow832
Copy link
Collaborator

djshow832 commented Jan 4, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Add -race to run go test in CI.

2. What did you expect to see? (Required)

No error

3. What did you see instead (Required)

The package net is always killed, even if I added a long timeout to go test.

e.g. https://do.pingcap.net/jenkins/blue/organizations/jenkins/pingcap%2Ftiproxy%2Fghpr_unit_test/detail/ghpr_unit_test/29/pipeline

It only runs for 36s, so it definitely not because of timeout (maybe because of OOM?):

signal: killed

FAIL	github.com/pingcap/tiproxy/pkg/proxy/net	36.001s

4. What is your version? (Required)

master

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

No branches or pull requests

1 participant