Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuhaotc committed Nov 25, 2020
1 parent b3f3f90 commit 3494a85
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using CodeIndex.Common;
using CodeIndex.IndexBuilder;
Expand Down Expand Up @@ -80,6 +81,12 @@ public void TestMaintainerIndex()
[Test]
public void TestMaintainerIndex_RetryFailed()
{
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
Assert.Pass();
return;
}

var waitMS = 1500;
Directory.CreateDirectory(MonitorFolder);

Expand All @@ -100,7 +107,7 @@ public void TestMaintainerIndex_RetryFailed()
LastRetryUTCDate = DateTime.Now.AddDays(-1)
});

var retryTime = 10;
var retryTime = 3;
var codeSources = Array.Empty<CodeSource>();

while (retryTime > 0)
Expand Down

0 comments on commit 3494a85

Please sign in to comment.