@@ -34,7 +34,7 @@ public void NoCancel()
34
34
}
35
35
}
36
36
37
- [ Fact ]
37
+ [ SkippableFact ( ServerFeatures . Timeout ) ]
38
38
public void CancelCommand ( )
39
39
{
40
40
using ( var cmd = new MySqlCommand ( "SELECT SLEEP(5)" , m_database . Connection ) )
@@ -54,7 +54,7 @@ public void CancelCommand()
54
54
}
55
55
}
56
56
57
- [ Fact ]
57
+ [ SkippableFact ( ServerFeatures . Timeout ) ]
58
58
public void CancelReaderAsynchronously ( )
59
59
{
60
60
using ( var barrier = new Barrier ( 2 ) )
@@ -90,7 +90,7 @@ public void CancelReaderAsynchronously()
90
90
}
91
91
}
92
92
93
- [ Fact ]
93
+ [ SkippableFact ( ServerFeatures . Timeout ) ]
94
94
public void CancelCommandBeforeRead ( )
95
95
{
96
96
using ( var cmd = new MySqlCommand ( c_hugeQuery , m_database . Connection ) )
@@ -117,7 +117,7 @@ public void CancelCommandBeforeRead()
117
117
}
118
118
}
119
119
120
- [ SkippableFact ( Baseline = "Hangs in NextResult" ) ]
120
+ [ SkippableFact ( ServerFeatures . Timeout , Baseline = "Hangs in NextResult" ) ]
121
121
public void CancelMultiStatementReader ( )
122
122
{
123
123
using ( var barrier = new Barrier ( 2 ) )
@@ -155,7 +155,7 @@ public void CancelMultiStatementReader()
155
155
}
156
156
}
157
157
158
- [ Fact ]
158
+ [ SkippableFact ( ServerFeatures . Timeout ) ]
159
159
public void DapperQueryMultiple ( )
160
160
{
161
161
Stopwatch stopwatch ;
@@ -173,7 +173,7 @@ public void DapperQueryMultiple()
173
173
}
174
174
175
175
#if ! BASELINE
176
- [ Fact ]
176
+ [ SkippableFact ( ServerFeatures . Timeout ) ]
177
177
public async Task CancelCommandWithTokenBeforeExecuteScalar ( )
178
178
{
179
179
using ( var cmd = new MySqlCommand ( "select 1;" , m_database . Connection ) )
@@ -190,7 +190,7 @@ public async Task CancelCommandWithTokenBeforeExecuteScalar()
190
190
}
191
191
}
192
192
193
- [ Fact ]
193
+ [ SkippableFact ( ServerFeatures . Timeout ) ]
194
194
public async Task CancelCommandWithTokenBeforeExecuteNonQuery ( )
195
195
{
196
196
using ( var cmd = new MySqlCommand ( "select 1;" , m_database . Connection ) )
@@ -207,7 +207,7 @@ public async Task CancelCommandWithTokenBeforeExecuteNonQuery()
207
207
}
208
208
}
209
209
210
- [ Fact ]
210
+ [ SkippableFact ( ServerFeatures . Timeout ) ]
211
211
public async Task CancelCommandWithTokenBeforeExecuteReader ( )
212
212
{
213
213
using ( var cmd = new MySqlCommand ( "select 1;" , m_database . Connection ) )
@@ -271,7 +271,7 @@ public void ImplicitCancelWithDapper()
271
271
Assert . Equal ( "value" , value ) ;
272
272
}
273
273
274
- [ Fact ]
274
+ [ SkippableFact ( ServerFeatures . Timeout ) ]
275
275
public async Task CancelHugeQueryWithTokenAfterExecuteReader ( )
276
276
{
277
277
using ( var cmd = new MySqlCommand ( c_hugeQuery , m_database . Connection ) )
@@ -297,7 +297,7 @@ public async Task CancelHugeQueryWithTokenAfterExecuteReader()
297
297
}
298
298
}
299
299
300
- [ Fact ]
300
+ [ SkippableFact ( ServerFeatures . Timeout ) ]
301
301
public async Task CancelHugeQueryWithTokenInNextResult ( )
302
302
{
303
303
using ( var cmd = new MySqlCommand ( c_hugeQuery + "select 1, 2, 3;" , m_database . Connection ) )
@@ -326,7 +326,7 @@ public async Task CancelHugeQueryWithTokenInNextResult()
326
326
}
327
327
}
328
328
329
- [ Fact ]
329
+ [ SkippableFact ( ServerFeatures . Timeout ) ]
330
330
public async Task CancelSlowQueryWithTokenAfterExecuteReader ( )
331
331
{
332
332
using ( var cmd = new MySqlCommand ( c_slowQuery , m_database . Connection ) )
@@ -355,7 +355,7 @@ public async Task CancelSlowQueryWithTokenAfterExecuteReader()
355
355
}
356
356
}
357
357
358
- [ Fact ]
358
+ [ SkippableFact ( ServerFeatures . Timeout ) ]
359
359
public async Task CancelSlowQueryWithTokenAfterNextResult ( )
360
360
{
361
361
using ( var cmd = new MySqlCommand ( "SELECT 1; " + c_slowQuery , m_database . Connection ) )
@@ -391,7 +391,7 @@ public async Task CancelSlowQueryWithTokenAfterNextResult()
391
391
}
392
392
}
393
393
394
- [ Fact ]
394
+ [ SkippableFact ( ServerFeatures . Timeout ) ]
395
395
public async Task CancelMultiStatementInRead ( )
396
396
{
397
397
using ( var cmd = new MySqlCommand ( c_hugeQuery + c_hugeQuery + c_hugeQuery , m_database . Connection ) )
0 commit comments