Page MenuHomeSoftware Heritage

Makefile.local: Improve headless cypress tests execution time
ClosedPublic

Authored by anlambert on Jul 1 2020, 1:56 PM.

Details

Summary

Do not keep tests in memory to reduce overall headless cypress tests execution
time.

Keeping tests in memory is only useful when using the cypress GUI.

Before that change, make test-frontend took 318s locally.
After that change, it takes 259s locally.

Diff Detail

Repository
rDWAPPS Web applications
Branch
headless-cypress-tests-speedup
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13237
Build 20214: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 20213: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jul 1 2020, 2:05 PM

Build is green

Patch application report for D3388 (id=12019)

Rebasing onto c2726ac124...

Current branch diff-target is up to date.
Changes applied before test
commit b8eb7741843b7be6fb82c705237fb21054e61706
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Wed Jul 1 13:53:23 2020 +0200

    Makefile.local: Improve headless cypress tests execution time
    
    Do not keep tests in memory to reduce overall headless cypress tests execution
    time.
    
    Keeping tests in memory is only useful when using the cypress GUI.

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