Page MenuHomeSoftware Heritage

tests/conftest: Put filtered input data in cache
ClosedPublic

Authored by anlambert on Oct 14 2021, 11:10 AM.

Details

Summary

Some tests input data returned by fixtures are sampled from filtered
objects stored in a static test archive.

In order to avoid repeating the same filtering operations multiple
times, put these filtered data in cache.

Diff Detail

Repository
rDWAPPS Web applications
Branch
pytest-fixtures-cache-static-data
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 24469
Build 38180: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 38179: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D6471 (id=23507)

Rebasing onto a200f70f2c...

Current branch diff-target is up to date.
Changes applied before test
commit 5fdf48a5def67c2997025b372549c9a7f887f7d9
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Wed Oct 13 16:47:55 2021 +0200

    tests/conftest: Put filtered input data in cache
    
    Some tests input data returned by fixtures are sampled from filtered
    objects stored in a static test archive.
    
    In order to avoid repeating the same filtering operations multiple
    times, put these filtered data in cache.

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

Build is green

Patch application report for D6471 (id=23531)

Rebasing onto ed2c2dbed9...

Current branch diff-target is up to date.
Changes applied before test
commit a43a6fa3fbe1d4b18630ce3e03818d37d9ca2322
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Wed Oct 13 16:47:55 2021 +0200

    tests/conftest: Put filtered input data in cache
    
    Some tests input data returned by fixtures are sampled from filtered
    objects stored in a static test archive.
    
    In order to avoid repeating the same filtering operations multiple
    times, put these filtered data in cache.

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

This revision is now accepted and ready to land.Oct 14 2021, 5:54 PM

Build is green

Patch application report for D6471 (id=23569)

Rebasing onto 4162a34683...

Current branch diff-target is up to date.
Changes applied before test
commit efbf0cdc2c4d1ac71879b6924e121d8191047b46
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Wed Oct 13 16:47:55 2021 +0200

    tests/conftest: Put filtered input data in cache
    
    Some tests input data returned by fixtures are sampled from filtered
    objects stored in a static test archive.
    
    In order to avoid repeating the same filtering operations multiple
    times, put these filtered data in cache.

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