Open TanayParikh opened 2 years ago
I believe we'd like to keep these issues open to ensure the QuarantinedTest
attribute is removed after 30 days.
Test is failing again, same failure, logs look the exact same as before when it was failing.
Assert.Equal() Failure
Expected: 2
Actual: 1
This test hasn't failed in the last 30 days.
All of the line numbers have moved, but it looks like the failing assert was probably about the stream pool count.
A stream won't go back into the pool unless it has finished closing gracefully. There's no obvious error in the log, but maybe it was still in the process of shutting down when the assert was evaluated?
Sleeping for three seconds before returning the stream to the pool doesn't break the test, so that's probably not the race.
Putting a delay before the stream's status is set does break the test, so there's a race there.
Edit: This isn't totally fair since the test uses simulated time, but it certainly seems to indicate that it's not waiting on the stream to complete before checking the pool count.
Failing Test(s)
Error Message
Stacktrace
Logs
Build
https://dev.azure.com/dnceng/public/_build/results?buildId=1549959&view=results