Pick the first branch and release in the snapshot instead of randomly
selecting it. As multiple branches can point to a same revision, this
ensures the same branch name will be picked when resolving a SWHID to
a browse URL.
Details
Details
- Reviewers
vlorentz - Group Reviewers
Reviewers - Commits
- rDWAPPS9924a39bc52b: tests: Fix flaky test_resolve_swhids_snapshot_context
Diff Detail
Diff Detail
- Repository
- rDWAPPS Web applications
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 14483 Build 22273: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 22272: arc lint + arc unit
Event Timeline
Comment Actions
Build is green
Patch application report for D3755 (id=13217)
Rebasing onto 0c15c048b4...
Current branch diff-target is up to date.
Changes applied before test
commit 239e060da46f855ada4112aa02319b3403f6928a Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Mon Aug 10 14:40:54 2020 +0200 tests: Fix flaky test_resolve_swhids_snapshot_context Pick the first branch and release in the snapshot instead of randomly selecting it. As multiple branches can point to a same revision, this ensures the same branch name will be picked when resolving a SWHID to a browse URL.
See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/320/ for more details.
swh/web/tests/common/test_identifiers.py | ||
---|---|---|
428 | .keys() is redundant |
Comment Actions
Build is green
Patch application report for D3755 (id=13218)
Rebasing onto 0c15c048b4...
Current branch diff-target is up to date.
Changes applied before test
commit 9924a39bc52b4ddb2213c15fb1fbbc43a955660e Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Mon Aug 10 14:40:54 2020 +0200 tests: Fix flaky test_resolve_swhids_snapshot_context Pick the first branch and release in the snapshot instead of randomly selecting it. As multiple branches can point to a same revision, this ensures the same branch name will be picked when resolving a SWHID to a browse URL.
See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/321/ for more details.
.keys() is redundant