File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/DataReaderTest Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -608,6 +608,10 @@ integrated into a comprehensive development
608
608
[ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) ) ]
609
609
public static async Task CanReadSequentialDecreasingChunks ( )
610
610
{
611
+ // pattern repeat input allows you to more easily identify if chunks are incorrectly
612
+ // related to each other by seeing the start and end of sequential chunks and checking
613
+ // if they correctly move to the next char while debugging
614
+ // simply repeating a single char can't tell you where in the string it went wrong.
611
615
const string baseString = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" ;
612
616
StringBuilder inputBuilder = new StringBuilder ( ) ;
613
617
while ( inputBuilder . Length < ( 64 * 1024 ) )
You can’t perform that action at this time.
0 commit comments