Project

General

Profile

Actions

Bug #25303

open

Database tests have non temporary DDL that prevents running them twice

Added by Clark ANDRIANASOLO 1 day ago. Updated 1 day ago.

Status:
Pending technical review
Priority:
N/A
Category:
Architecture - Test
Target version:
Severity:
Trivial - no functional impact | cosmetic
UX impact:
User visibility:
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

We can no longer run database tests in the Webapp more than once, since a non-temporary DDL has been introduced in #24637 :

CREATE TYPE score AS enum ('A', 'B', 'C', 'D', 'E', 'F', 'X');

and that is causing the following error when re-running the tests : org.specs2.specification.core.FatalExecution: ERROR: type "score" already exists.

We should always drop the Type at the end of database tests.

Actions

Also available in: Atom PDF