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
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1747
Build 2102: tox-on-jenkinsJenkins
Build 2101: arc lint + arc unit

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.