Allow DriverSpecificSchemaTestBase::testChangePrimaryKeyToSerial to execute for non-core drivers

Created on 23 April 2023, over 1 year ago
Updated 9 July 2023, over 1 year ago

Problem/Motivation

Non-core database drivers may have specific strategies on automatic incrementing. For example, Oracle will allocate a last id with a failing insert that is discarded, and a good insert will get a new id instead.

That makes testChangePrimaryKeyToSerial fail because the check is on an exact value of the last id.

Proposed resolution

Use assertGreaterThanOrEqual in place of assertEquals.

Remaining tasks

Answer #4

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.1

Component
Database 

Last updated 2 days ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

🇮🇹Italy mondrake 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024