•  
      request #10568 Unit tests should not write in the sources of Tuleap
    Infos
    #10568
    Nicolas Terray (nterray)
    2017-08-18 21:32
    2017-08-16 16:33
    10813
    Details
    Unit tests should not write in the sources of Tuleap
    For example in git, if you run the following command:
    docker run --rm=true -v $PWD:/tuleap enalean/tuleap-simpletest:c6-php53 /tuleap/plugins/git/
    Then some files are written in the source of tuleap for assertions. Even if what is written is wiped after the test is run, it prevents us to parallelize tests on the same folder.

    We should run tests with :ro option on /tuleap volume so that it is read only:
    docker run --rm=true -v $PWD:/tuleap:ro enalean/tuleap-simpletest:c6-php53 /tuleap/plugins/git/

    Note: not only git is concerned by this issue.
    Other
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-08-18
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2017-08-18 21:32
    gerrit #9304 integrated into Tuleap 9.11.99.19. PHP unit tests does not write directly in the sources anymore, I'm closing the artifact.

    • Status changed from Under implementation to Closed
    • Connected artifacts
    • Close date set to 2017-08-18