Hypothesis can generate multiple times the same origin URL which
makes test fail due to the use of django cache in get_origin_visits.
So force the generation of a single hypothesis example for that test.
Differential D7111
tests: Fix flaky test introduced in e72b1e7a9d18 Authored by anlambert on Feb 7 2022, 5:57 PM. Tags None Subscribers None
Details
Hypothesis can generate multiple times the same origin URL which So force the generation of a single hypothesis example for that test.
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D7111 (id=25775)Rebasing onto ca8e529f2d... Current branch diff-target is up to date. Changes applied before testcommit aeb6d7cdbcad00ca99bbe95244f131e2856d8263
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date: Mon Feb 7 17:56:19 2022 +0100
tests: Fix flaky test introduced in e72b1e7a9d18
Hypothesis can generate multiple times the same origin URL which
makes test fail due to the use of django cache in get_origin_visits.
So force the generation of a single hypothesis example for that test.See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1351/ for more details. |