Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#23650 closed Bug (fixed)

System checks framework runs 3 times while performing test

Reported by: Ilya Baryshev Owned by: nobody
Component: Core (System checks) Version: 1.7
Severity: Normal Keywords: tests checks
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I think running checks only one time during tests is better.

First, migrate performs it,
then flush,
and lastly loaddata.

If you happen to have output by checks framework, it will be repeated 3 times.

Change History (6)

comment:1 Changed 8 years ago by Claude Paroz

Triage Stage: UnreviewedAccepted

comment:3 Changed 8 years ago by Tim Graham

Triage Stage: AcceptedReady for checkin

comment:4 Changed 8 years ago by Claude Paroz <claude@…>

Resolution: fixed
Status: newclosed

In 8d6e1afe0be0570253a508f43e2ef89ae640984e:

Fixed #23650 -- Prevented migrate from calling checks 3 times

Thanks Ilya Baryshev for the report and Tim Graham for the review.

comment:5 Changed 8 years ago by Loic Bistuer <loic.bistuer@…>

In ec8a2e3b0787a3027cd0a0954a8637fc9bd6a5f3:

Prevented syncdb from calling system checks multiple times. Refs #23650.

comment:6 Changed 8 years ago by Claude Paroz <claude@…>

In 6d11bb102dd6876a936297c1ee8cddbaca22eee3:

Revert "Fixed #23650 -- Prevented migrate from calling checks 3 times"

This reverts commit 8d6e1afe0be0570253a508f43e2ef89ae640984e.
call_command now always set skip_checks to True (tested in

Note: See TracTickets for help on using tickets.
Back to Top