Skip to content

RenamingABranchIncludesTheCorrectReflogEntries occasionally fails the range check #1186

Open
@Vogel612

Description

@Vogel612

Occasionally it happens to me that the Branch Renaming reflog test fails with following error message

 LibGit2Sharp.Tests.BranchFixture.RenamingABranchIncludesTheCorrectReflogEntries: 
     Assert.InRange() Failure
     Range:  (08.09.2015 14:10:34 +02:00 - 08.09.2015 14:10:34 +02:00)
     Actual: 08.09.2015 14:10:33 +02:00

It seems the range's From is off by a second. This behaviour appears only sporadically. As of now I only reproduced this on Ubuntu with Mono-4.0.0.0

The behaviour shows both when running the XUnit Tests from mondevelop as well as when running build.libgit2sharp.sh, but usually disappears when rerunning the test

Behaviour was noticed when working on #1185

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions