@@ -31,20 +31,14 @@ public static void RunAllTestsForSingleServer_NP()
31
31
}
32
32
}
33
33
34
- [ ActiveIssue ( "5540" ) ]
34
+ // [ActiveIssue("5540")]
35
35
[ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureServer ) , Skip = "One test fails." ) ]
36
36
public static void RunAllTestsForSingleServer_TCP ( )
37
37
{
38
- RunAllTestsForSingleServer ( DataTestUtility . TCPConnectionString , false , false ) ;
38
+ RunAllTestsForSingleServer ( DataTestUtility . TCPConnectionString , false ) ;
39
39
}
40
40
41
- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureServer ) , nameof ( DataTestUtility . IsNotNamedInstance ) ) ]
42
- public static void RunAllTestsForSingleServer_TCP_DisableFlaky ( )
43
- {
44
- RunAllTestsForSingleServer ( DataTestUtility . TCPConnectionString , false , true ) ;
45
- }
46
-
47
- // Synapse: The statement failed. Column 'foo' has a data type that cannot participate in a columnstore index.
41
+ // Synapse: The statement failed. Column 'foo' has a data type that cannot participate in a columnstore index.
48
42
[ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) ) ]
49
43
public static async Task AsyncMultiPacketStreamRead ( )
50
44
{
@@ -158,7 +152,7 @@ IF OBJECT_ID('dbo.{tableName}', 'U') IS NOT NULL
158
152
return data ;
159
153
}
160
154
161
- private static void RunAllTestsForSingleServer ( string connectionString , bool usingNamePipes = false , bool disableFlakyTest = true )
155
+ private static void RunAllTestsForSingleServer ( string connectionString , bool usingNamePipes = false )
162
156
{
163
157
RowBuffer ( connectionString ) ;
164
158
InvalidRead ( connectionString ) ;
@@ -194,10 +188,7 @@ private static void RunAllTestsForSingleServer(string connectionString, bool usi
194
188
TimeoutDuringReadAsyncWithClosedReaderTest ( connectionString ) ;
195
189
}
196
190
197
- if ( ! disableFlakyTest )
198
- {
199
- NonFatalTimeoutDuringRead ( connectionString ) ;
200
- }
191
+ NonFatalTimeoutDuringRead ( connectionString ) ;
201
192
}
202
193
}
203
194
@@ -2084,7 +2075,7 @@ private static void NonFatalTimeoutDuringRead(string connectionString)
2084
2075
2085
2076
// Close will now observe the stored timeout error
2086
2077
string errorMessage = SystemDataResourceManager . Instance . SQL_Timeout_Execution ;
2087
- DataTestUtility . AssertThrowsWrapper < SqlException > ( reader . Dispose , errorMessage ) ;
2078
+ DataTestUtility . AssertThrowsWrapper < SqlException > ( reader . Close , errorMessage ) ;
2088
2079
}
2089
2080
}
2090
2081
}
0 commit comments