File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Razor/Microsoft.NET.Sdk.Razor/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ public void BundlesScopedCssFiles_DoesNotOverrideBundleForSameContents()
325325
326326 [ Fact ]
327327 [ QuarantinedTest ( "https://github.com/dotnet/aspnetcore/issues/25623" ) ]
328- public void BundlesScopedCssFiles_UpdatesBundleWhenContentsChange ( )
328+ public async System . Threading . Tasks . Task BundlesScopedCssFiles_UpdatesBundleWhenContentsChange ( )
329329 {
330330 // Arrange
331331 var expectedFile = Path . Combine ( Directory . GetCurrentDirectory ( ) , $ "{ Guid . NewGuid ( ) : N} .css") ;
@@ -382,14 +382,14 @@ public void BundlesScopedCssFiles_UpdatesBundleWhenContentsChange()
382382 } ) ,
383383 } ;
384384
385+ await System . Threading . Tasks . Task . Delay ( 1000 ) ;
385386 taskInstance . Execute ( ) ;
386387
387388 // Assert
388389 Assert . True ( result ) ;
389390 Assert . True ( File . Exists ( expectedFile ) ) ;
390391 var actualContents = File . ReadAllText ( expectedFile ) ;
391392 Assert . Equal ( UpdatedBundleContent , actualContents , ignoreLineEndingDifferences : true ) ;
392-
393393 Assert . NotEqual ( lastModified , File . GetLastWriteTimeUtc ( expectedFile ) ) ;
394394 }
395395 }
You can’t perform that action at this time.
0 commit comments