Open Wraith2 opened 3 years ago
@Wraith2, this is happening intermittently, I tried, but was not able to see the error. I'll try this again tonight and will get back to you.
Could this get resolved with #2714 ?
Possibly. If I've been tricked into fixing a bad test I'm going to be irritated.
Describe the bug
Running manual tests locally I've been seeing intermittent failures on an unusual test. I was seeing it on an experimental branch but has now reproduced it on clean main branch.
I've seen this fail, be incredibly slow (30 mins+) or fail with an access violation from the native sni. This is the most likely failure mode.
To run tests I do a full artifacts clean, build and then run tests.
To reproduce
Run the manual test suite run or possibly just the
Microsoft.Data.SqlClient.ManualTesting.Tests.AsyncCancelledConnectionsTest.RunCancelAsyncConnections
repeatedly and it will eventually fail.Expected behavior
The test should reliably pass. It having intermittent failures and especially one as serious as an access violation is worrying for reliability.
Further technical details
Microsoft.Data.SqlClient version: (4.0.0 main) .NET target: netcore 3.1 SQL Server version: SQL Server 2017 Operating system: Windows 10, native SNI