File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
benchmark/BenchmarkRunner/Benchmarks Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ public void GlobalSetup()
3232 }
3333
3434 [ IterationSetup ]
35- public async Task IterationSetup ( )
35+ public void IterationSetup ( )
3636 {
37- await MysqlDatabaseHelper . CleanupWriteTableAsync ( _connectionString ) ;
37+ MysqlDatabaseHelper . CleanupWriteTableAsync ( _connectionString ) . GetAwaiter ( ) . GetResult ( ) ;
3838 Helpers . InvokeGarbageCollection ( ) ;
3939 }
4040
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ public void GlobalSetup()
3232 }
3333
3434 [ IterationSetup ]
35- public async Task IterationSetup ( )
35+ public void IterationSetup ( )
3636 {
37- await PostgresqlDatabaseHelper . CleanupWriteTableAsync ( _connectionString ) ;
37+ PostgresqlDatabaseHelper . CleanupWriteTableAsync ( _connectionString ) . GetAwaiter ( ) . GetResult ( ) ;
3838 Helpers . InvokeGarbageCollection ( ) ;
3939 }
4040
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ public void GlobalSetup()
3232 }
3333
3434 [ IterationSetup ]
35- public async Task IterationSetup ( )
35+ public void IterationSetup ( )
3636 {
37- await SqliteDatabaseHelper . CleanupWriteTableAsync ( _connectionString ) ;
37+ SqliteDatabaseHelper . CleanupWriteTableAsync ( _connectionString ) . GetAwaiter ( ) . GetResult ( ) ;
3838 Helpers . InvokeGarbageCollection ( ) ;
3939 }
4040
You can’t perform that action at this time.
0 commit comments