Skip to content

Travis CI - creation time based test fails 100% of the time on Node V8 #1

@joshuatz

Description

@joshuatz

Strange issue. There is one test that is meant to cover the fallback feature of the scraper; if there is no git history, it will try to retrieve the timestamps based on standard node stat or lstat. To test this, I create some files, and "touch" one of them by both appending actual text to it, as well as forcibly changing the attributes.

On Windows, on Node V8 included, this test passes. However, on Travis CI, which is running Ubuntu, on Node v8 only, after file modification the "timeDelay" comes back as zero seconds, which would seem to indicate that the birthtimeMs is identical to mtimeMs, even after touching the file.

This really doesn't make much sense, given how many ways I am trying to force it to recognize a file modification has occurred.

I'm going to do some more digging, but this is really hard to troubleshoot, since I can't replicate at all locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions