diff --git a/src/common/interop/interop-tests/InteropTests.cs b/src/common/interop/interop-tests/InteropTests.cs index 1b91f97124..0ac159bb2c 100644 --- a/src/common/interop/interop-tests/InteropTests.cs +++ b/src/common/interop/interop-tests/InteropTests.cs @@ -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();