Page MenuHomeSoftware Heritage

cypress: Explicitely set support file path in config
ClosedPublic

Authored by anlambert on Oct 18 2022, 8:49 PM.

Details

Summary

This should prevent a race condition when cypress process default support file
paths in parallel that sometimes make support file fails to load and triggers
errors when running tests.

Diff Detail

Repository
rDWAPPS Web applications
Branch
cypress-set-supportFile-in-config
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 32458
Build 50836: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 50835: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D8742 (id=31505)

Rebasing onto 328198ab41...

Current branch diff-target is up to date.
Changes applied before test
commit d68664bdfef7539794aa1876ea3df759e48f5c39
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Oct 18 20:48:58 2022 +0200

    cypress: Explicitely set support file path in config
    
    This should prevent a race condition when cypress process default support file
    paths in parallel that sometimes make support file fails to load and triggers
    errors when running tests.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/2080/ for more details.

Rebase and improve commit message

Build is green

Patch application report for D8742 (id=31515)

Rebasing onto 176799962e...

Current branch diff-target is up to date.
Changes applied before test
commit b0481ba8ca2332360366f71bdc94049e20992cc8
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Oct 18 20:48:58 2022 +0200

    cypress: Explicitely set support file path in config
    
    This should prevent a race condition when multiple cypress processes
    process default support file paths in parallel that sometimes make
    support file fails to load and triggers errors when running tests.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/2081/ for more details.

This revision was not accepted when it landed; it landed in state Needs Review.Oct 19 2022, 1:51 PM
This revision was automatically updated to reflect the committed changes.