-
Notifications
You must be signed in to change notification settings - Fork 305
Refine handling of moving between replay and continue states #3337
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
base: main
Are you sure you want to change the base?
Conversation
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3337 +/- ##
==========================================
- Coverage 67.04% 59.54% -7.51%
==========================================
Files 300 293 -7
Lines 65376 65077 -299
==========================================
- Hits 43831 38749 -5082
- Misses 21545 26328 +4783
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The CI failures are caused by nuget timeouts. |
Can I get CI and review on this please? There are further fixes waiting that build on this one. |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
I'm not sure if the CI is having problems or there is a real issue with the code. |
It looks like one job timed out, but everything else succeeded. I kicked that one job. |
src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlCachedBuffer.cs
Outdated
Show resolved
Hide resolved
When I looked (and subsequently commented) the CI had been running for 3 hours without either timing our or completing so i was concerned that I'd introduced a hanging behaviour. If it managed to complete then I haven't Can you start the CI please. |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of comments.
src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/DataReaderTest/DataReaderTest.cs
Outdated
Show resolved
Hide resolved
@@ -638,7 +638,7 @@ DROP TABLE IF EXISTS [{tableName}] | |||
command.Parameters.Clear(); | |||
var result = (byte[])await command.ExecuteScalarAsync(); | |||
|
|||
Debug.Assert(data.SequenceEqual(result)); | |||
Assert.Equal(data, result); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great thanks! We don't run tests in Debug (yet) so this wouldn't have failed during CI if there was an actual problem.
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
fixes #3336
Refines moving between ReplayRunning and ContinueRunning states fixing an issue with varbinary reads.