Page MenuHomeSoftware Heritage

tests/conftest: Fix errors after swh-indexer API update
ClosedPublic

Authored by anlambert on Nov 6 2020, 2:02 PM.

Details

Summary

See https://jenkins.softwareheritage.org/job/DENV/job/tests/295/artifact/swh-web.log

While a new tag is not created for swh-indexer, we have to use the deprecated policy_update
parameter or tests will fail when using tox.

Diff Detail

Repository
rDWAPPS Web applications
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16926
Build 26113: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 26112: arc lint + arc unit

Event Timeline

you could also ask @vlorentz if the indexers can be tagged ;)

Build is green

Patch application report for D4439 (id=15706)

Rebasing onto bee0470c26...

Current branch diff-target is up to date.
Changes applied before test
commit 6407757aa6463f7f63594834b4a83b545d1d58e1
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Fri Nov 6 13:59:33 2020 +0100

    tests/conftest: Fix errors after swh-indexer API update

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

yeah, let's tag them instead

Ack, I wait for the new indexer release on PyPI and I will update the diff afterwards.

Remove use of deprecated policy_update parameter

This revision is now accepted and ready to land.Nov 6 2020, 4:53 PM
This revision was landed with ongoing or failed builds.Nov 6 2020, 4:58 PM
This revision was automatically updated to reflect the committed changes.

Build is green

Patch application report for D4439 (id=15714)

Rebasing onto bee0470c26...

Current branch diff-target is up to date.
Changes applied before test
commit 9940eee372fdf1963fa6c35a10ac5c08271bc955
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Fri Nov 6 13:59:33 2020 +0100

    tests/conftest: Fix errors after swh-indexer API update

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