Opened 3 years ago

Closed 3 years ago

#18927 closed Bug (fixed)

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

Reported by: 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 3 years ago by manfre

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 3 years ago by manfre

Updated pull request to split efficiency tests.

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

  • Resolution set to fixed
  • Status changed from new to closed

In 32ac067a6ddca465cd94fc7ee35bfe54a675979b:

Fixed #18927 -- Fixed bulk_create tests when no has_bulk_insert

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