Skip to content

Commit

Permalink
work around issue where hg for linux was getting used during s&r te…
Browse files Browse the repository at this point in the history
…sts on windows
  • Loading branch information
hahn-kev committed Jul 24, 2023
1 parent b581799 commit e6968ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e6968ba

Please sign in to comment.