Code

Opened 2 years ago

Closed 2 years ago

#18319 closed Bug (fixed)

test_runner.AutoIncrementResetTest should be skipped for mssql

Reported by: 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 manfre 2 years ago.
Changed check for newly added supports_sequence_reset database feature

Download all attachments as: .zip

Change History (4)

comment:1 Changed 2 years ago by akaariai

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement set
  • Triage Stage changed from Unreviewed to Accepted

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 2 years ago by manfre

Changed check for newly added supports_sequence_reset database feature

comment:2 Changed 2 years ago by manfre

  • Patch needs improvement unset

Updated patch to use supports_sequence_reset, instead of vendor.

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

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

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.