Skip to content

Commit 274e71b

Browse files
Update src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid/test/GridRaceConditionTest.cs
Co-authored-by: Ilona Tomkowicz <[email protected]>
1 parent 540c4fb commit 274e71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid/test/GridRaceConditionTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public async Task FailingQuickGridCallsInitAfterDisposal()
7676
// and demonstrate the race condition by calling init after disposal
7777
moduleLoadCompletion.SetResult();
7878

79-
// Wait for OnAfterRenderAsync to complete - deterministic timing instead of arbitrary delay
79+
// Wait until after OnAfterRenderAsync has completed, to make sure jsmodule import started and the reported issue is reproduced
8080
var failingGrid = testComponent.FailingQuickGrid;
8181
await failingGrid.OnAfterRenderCompleted;
8282

0 commit comments

Comments
 (0)