diff --git a/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs b/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs index 83420b046..71d1858ac 100644 --- a/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs +++ b/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs @@ -24,6 +24,11 @@ public SendReceiveServiceTests(ITestOutputHelper output) _output = output; _sendReceiveService = new SendReceiveService(_output); CleanUpTempDir(); + var fileInfo = new FileInfo("Mercurial/hg"); + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows) && fileInfo.Exists) + { + fileInfo.Delete(); + } } private void CleanUpTempDir()