File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
TransactionProcessor.IntegrationTests/Common Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -377,10 +377,13 @@ private async Task RemoveEstateReadModel()
377377 {
378378 String databaseName = $ "EstateReportingReadModel{ estateId } ";
379379
380- // Build the connection string (to master)
381- String connectionString = Setup . GetLocalConnectionString ( databaseName ) ;
382- EstateReportingContext context = new EstateReportingContext ( connectionString ) ;
383- await context . Database . EnsureDeletedAsync ( CancellationToken . None ) ;
380+ await Retry . For ( async ( ) =>
381+ {
382+ // Build the connection string (to master)
383+ String connectionString = Setup . GetLocalConnectionString ( databaseName ) ;
384+ EstateReportingContext context = new EstateReportingContext ( connectionString ) ;
385+ await context . Database . EnsureDeletedAsync ( CancellationToken . None ) ;
386+ } ) ;
384387 }
385388 }
386389
You can’t perform that action at this time.
0 commit comments