Skip to content

Commit

Permalink
Improve test flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Aug 24, 2024
1 parent 9a54bc5 commit 33a61e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NAPS2.Lib.Tests/WinForms/DesktopControllerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public async Task ProcessCoordinatorScanWithDevice()
{
await _desktopController.Initialize();
Assert.True(_processCoordinator.ScanWithDevice(Process.GetCurrentProcess(), 10000, "abc"));

await Task.Delay(500);
_ = _desktopScanController.Received().ScanWithDevice("abc");
}
}

0 comments on commit 33a61e2

Please sign in to comment.