testing: log/syslog tests take too long when run with the race detector #5547
Labels
Comments
I'm not seeing this on my Ubuntu precise amd64 system. > go test -race log/syslog -v === RUN TestWithSimulated --- PASS: TestWithSimulated (0.81 seconds) === RUN TestFlap --- PASS: TestFlap (0.00 seconds) === RUN TestNew --- PASS: TestNew (0.00 seconds) === RUN TestNewLogger --- PASS: TestNewLogger (0.00 seconds) === RUN TestDial --- PASS: TestDial (0.00 seconds) === RUN TestWrite --- PASS: TestWrite (1.21 seconds) === RUN TestConcurrentWrite --- PASS: TestConcurrentWrite (0.00 seconds) === RUN TestConcurrentReconnect --- PASS: TestConcurrentReconnect (0.03 seconds) PASS ok log/syslog 3.071s |
Ah, right. Confirmed: GOMAXPROCS=8 go test -race log/syslog -v === RUN TestWithSimulated-8 --- PASS: TestWithSimulated-8 (0.81 seconds) === RUN TestFlap-8 --- PASS: TestFlap-8 (0.00 seconds) === RUN TestNew-8 --- PASS: TestNew-8 (0.00 seconds) === RUN TestNewLogger-8 --- PASS: TestNewLogger-8 (0.00 seconds) === RUN TestDial-8 --- PASS: TestDial-8 (0.00 seconds) === RUN TestWrite-8 --- PASS: TestWrite-8 (1.21 seconds) === RUN TestConcurrentWrite-8 --- PASS: TestConcurrentWrite-8 (0.00 seconds) === RUN TestConcurrentReconnect-8 *** Test killed: ran too long (10m0s). FAIL log/syslog 600.004s Labels changed: added priority-soon, removed priority-triage. Owner changed to @dvyukov. Status changed to Accepted. |
This issue was closed by revision 0806c97. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: