mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
[Tests]Fix flaky interop tests (#29749)
This commit is contained in:
@@ -49,6 +49,9 @@ namespace Microsoft.Interop.Tests
|
|||||||
serverPipe.Start();
|
serverPipe.Start();
|
||||||
ClientPipe.Start();
|
ClientPipe.Start();
|
||||||
|
|
||||||
|
// Test can be flaky as the pipes are still being set up and we end up receiving no message. Wait for a bit to avoid that.
|
||||||
|
Thread.Sleep(100);
|
||||||
|
|
||||||
ClientPipe.Send(testString);
|
ClientPipe.Send(testString);
|
||||||
reset.WaitOne();
|
reset.WaitOne();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user