[Tests]Fix flaky interop tests (#29749)

This commit is contained in:
Jaime Bernardo
2023-11-08 17:26:50 +00:00
committed by GitHub
parent 019a6b85e8
commit 889de94fa2

View File

@@ -49,6 +49,9 @@ namespace Microsoft.Interop.Tests
serverPipe.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);
reset.WaitOne();