HomeSoftware Heritage

debian.tests: Fix test

Description

debian.tests: Fix test

The scheduler fixture introduced truncates tables in between tests. The debian
tests unfortunately share state and it broke when that changed. This fixes the
test by avoiding the truncation of the scheduler db table "task".

Ideally those tests need to be reworked to avoid sharing state between tests.

[1] https://jenkins.softwareheritage.org/job/DLS/job/tests/1043

Details

Provenance
ardumontAuthored on Oct 29 2020, 10:09 PM
ardumontPushed on Oct 30 2020, 9:33 AM
Differential Revision
D4387: lister.debian.tests: Fix test
Parents
rDLSa19cb5fb5160: lister.pytest_plugin: Simplify fixture setup
Branches
Unknown
Tags
Unknown
Build Status
Buildable 16740
Build 25818: test-and-buildJenkins console · Jenkins