Opened 4 years ago

Closed 4 years ago

#18927 closed Bug (fixed)

bulk_create tests expect explicit query count even for database that doens't support bulk insert

Reported by: Michael Manfre Owned by: nobody
Component: Testing framework Version: master
Severity: Normal Keywords: bulk_create
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Some of the bulk_create tests assert the number of queries executed, which assumes that the database supports has_bulk_insert = True.

Change History (3)

comment:1 Changed 4 years ago by Michael Manfre

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

comment:2 Changed 4 years ago by Michael Manfre

Updated pull request to split efficiency tests.

comment:3 Changed 4 years ago by Anssi Kääriäinen <akaariai@…>

Resolution: fixed
Status: newclosed

In 32ac067a6ddca465cd94fc7ee35bfe54a675979b:

Fixed #18927 -- Fixed bulk_create tests when no has_bulk_insert

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