8000 Temporary fixes really strange glitch with time & appveyor · sillyHook/libgit2sharp-ssh@fff088a · GitHub
[go: up one dir, main page]

Skip to content

Commit fff088a

Browse files
committed
Temporary fixes really strange glitch with time & appveyor
1 parent 65a3491 commit fff088a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ protected static void AssertRefLogEntry(IRepository repo, string canonicalName,
430430
Assert.Equal(@from ?? ObjectId.Zero, reflogEntry.From);
431431

432432
Assert.Equal(committer.Email, reflogEntry.Committer.Email);
433-
Assert.InRange(reflogEntry.Committer.When, before, DateTimeOffset.Now);
433+
Assert.InRange(reflogEntry.Committer.When, before, DateTimeOffset.Now.AddSeconds(1));
434434
}
435435

436436
protected static void EnableRefLog(IRepository repository, bool enable = true)

0 commit comments

Comments
 (0)
0