8000
  • fix flaky SFTP file time tests by mus65 · Pull Request #1414 · sshnet/SSH.NET · GitHub
    [go: up one dir, main page]

    Skip to content

    fix flaky SFTP file time tests#1414

    Merged
    Rob-Hague merged 2 commits intosshnet:developfrom
    mus65:fixlastwritetimetest
    Jun 4, 2024
    Merged

    fix flaky SFTP file time tests#1414
    Rob-Hague merged 2 commits intosshnet:developfrom
    mus65:fixlastwritetimetest

    Conversation

    @mus65
    Copy link
    Contributor
    @mus65 mus65 commented May 25, 2024

    These asserts currently assume that DateTime.Now and the creation timestamp on the server happen within the same second.

    Note that I didn't change the asserts below where an explicit timestamp is set. From my understanding, these should not be affected.

    example: https://ci.appveyor.com/project/drieseng/ssh-net/builds/49850731/job/u6lk0cyipbxkp4jd

    These asserts currently assume that DateTime.Now and the
    creation timestamp on the server happen within the same second.
    
    Note that I didn't change the asserts below where an explicit
    timestamp is set. From my understanding, these should not be affected.
    
    example: https://ci.appveyor.com/project/drieseng/ssh-net/builds/49850731/job/u6lk0cyipbxkp4jd
    @Rob-Hague
    Copy link
    Collaborator

    Thanks, I'm pretty sure I just deleted these asserts in some similar tests but maybe I missed some. I'm out for the next week or so so may not come back until then

    @Rob-Hague
    Copy link
    Collaborator

    Yeah, let's just delete them. The real asserts are a few lines lower.

    @mus65
    Copy link
    Contributor Author
    mus65 commented Jun 4, 2024

    I removed them.

    Copy link
    Collaborator
    @Rob-Hague Rob-Hague left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Thanks

    @Rob-Hague Rob-Hague merged commit dda27a3 into sshnet:develop Jun 4, 2024
    @mus65 mus65 deleted the fixlastwritetimetest branch September 14, 2024 09:30
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    None yet

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    2 participants

    0