Page MenuHomeSoftware Heritage

tests: add a too_slow setting on UpdaterConsumerWithEventTest.test_running
ClosedPublic

Authored by douardda on Oct 23 2018, 10:21 AM.

Details

Summary

so that hypothesis does not complains when executed on a slower (aka CI)
nachine.

Test Plan

hopefully jenkins will be happy

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

As far as i understood, that disables the health checks on tests 'whose data generation is extremely slow and likely to hurt testing.' [1]

Tests are still fine on this box's venv.

Let's try and see if jenkins is happy now.

[1] doc: https://hypothesis.readthedocs.io/en/latest/healthchecks.html#hypothesis.HealthCheck.too_slow

This revision is now accepted and ready to land.Oct 23 2018, 10:35 AM
This revision was automatically updated to reflect the committed changes.