HomeSoftware Heritage

test_db/test_db_copy_to: Fix hypothesis FailedHealthCheck error

Description

test_db/test_db_copy_to: Fix hypothesis FailedHealthCheck error

With latest version of hypothesis, this test often raises the following
error:

hypothesis.errors.FailedHealthCheck: Data generation is extremely slow ...

Setting the number of hypothesis examples for that test to a lower value
makes the error goes away.

This should also fix that test execution in the swh-environment/tests
Jenkins job which often fails.

Details

Provenance
anlambertAuthored on May 17 2022, 11:46 AM
anlambertPushed on May 17 2022, 2:38 PM
Differential Revision
D7842: test_db/test_db_copy_to: Fix hypothesis FailedHealthCheck error
Parents
rDCORE6fa229792d57: Refactor swh.lister.github.utils to swh.core.github.utils
Branches
Unknown
Tags
Unknown
Build Status
Buildable 29428
Build 45991: test-and-buildJenkins console · Jenkins