Opened 4 years ago

Closed 4 years ago

#18319 closed Bug (fixed)

test_runner.AutoIncrementResetTest should be skipped for mssql

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

Description

test_runner.AutoIncrementResetTest should be skipped for mssql

Attachments (1)

django-ticket18319.diff (2.5 KB) - added by Michael Manfre 4 years ago.
Changed check for newly added supports_sequence_reset database feature

Download all attachments as: .zip

Change History (4)

comment:1 Changed 4 years ago by Anssi Kääriäinen

Needs documentation: unset
Needs tests: unset
Patch needs improvement: set
Triage Stage: UnreviewedAccepted

Add a connection feature "supports_sequence_reset" or somesuch. If you can write a patch for this, great. Reason is again other 3rd party backends.

Changed 4 years ago by Michael Manfre

Attachment: django-ticket18319.diff added

Changed check for newly added supports_sequence_reset database feature

comment:2 Changed 4 years ago by Michael Manfre

Patch needs improvement: unset

Updated patch to use supports_sequence_reset, instead of vendor.

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

Resolution: fixed
Status: newclosed

In [0df4593f0edb8508eceff96ce5aebc59a073b506]:

Fixed #18319 -- Added 'supports_sequence_reset' DB feature

Added a new feature to allow 3rd party backends to skip tests which
test sequence resetting.

Thanks to manfre for report and patch.

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