11using System . Data ;
2+ using System . Threading . Tasks ;
23using Dapper ;
34#if BASELINE
45using MySql . Data . MySqlClient ;
@@ -35,7 +36,7 @@ one int primary key
3536 }
3637
3738 [ SkippableFact ( ConfigSettings . CsvFile ) ]
38- public async void CommandLoadCsvFile ( )
39+ public async Task CommandLoadCsvFile ( )
3940 {
4041 var insertInlineCommand = string . Format ( m_loadDataInfileCommand , "" , AppConfig . MySqlBulkLoaderCsvFile . Replace ( "\\ " , "\\ \\ " ) ) ;
4142 using var command = new MySqlCommand ( insertInlineCommand , m_database . Connection ) ;
@@ -46,7 +47,7 @@ public async void CommandLoadCsvFile()
4647 }
4748
4849 [ SkippableFact ( ConfigSettings . LocalCsvFile | ConfigSettings . TrustedHost ) ]
49- public async void CommandLoadLocalCsvFile ( )
50+ public async Task CommandLoadLocalCsvFile ( )
5051 {
5152 var insertInlineCommand = string . Format ( m_loadDataInfileCommand , " LOCAL" ,
5253 AppConfig . MySqlBulkLoaderLocalCsvFile . Replace ( "\\ " , "\\ \\ " ) ) ;
@@ -62,7 +63,7 @@ public async void CommandLoadLocalCsvFile()
6263 }
6364
6465 [ SkippableFact ( ConfigSettings . LocalCsvFile | ConfigSettings . TrustedHost , Baseline = "Doesn't require trusted host for LOAD DATA LOCAL INFILE" ) ]
65- public async void ThrowsNotSupportedExceptionForNotTrustedHostAndNotStream ( )
66+ public async Task ThrowsNotSupportedExceptionForNotTrustedHostAndNotStream ( )
6667 {
6768 var insertInlineCommand = string . Format ( m_loadDataInfileCommand , " LOCAL" ,
6869 AppConfig . MySqlBulkLoaderLocalCsvFile . Replace ( "\\ " , "\\ \\ " ) ) ;
0 commit comments