HomeSoftware Heritage

templates/stage-cypress-tests: Prevent race conditions between runners

Description

templates/stage-cypress-tests: Prevent race conditions between runners

As the parallel cypress runners use the same repository filesystem to execute
tests from, some race conditions related to file system operations might happen
which make the tests fail.

As a workaround make each cypress runner execute tests from a copy of the swh-web
repository filesystem (without root hidden folders).

Such copy takes a dozen of seconds but it makes tests execution much more stable
on Jenkins by avoiding the race conditions mentionned above.

Details

Provenance
anlambertAuthored on Nov 4 2022, 4:49 PM
anlambertPushed on Nov 8 2022, 3:06 PM
Differential Revision
D8821: templates/stage-cypress-tests: Prevent race conditions between runners
Parents
rCJSWH3f35eb074647: Add a job running swh-mirror tests
Branches
Unknown
Tags
Unknown