Project

General

Profile

Actions

Bug #25303

closed

Database tests have non temporary DDL that prevents running them twice

Added by Clark ANDRIANASOLO 4 months ago. Updated 2 months ago.

Status:
Released
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:
Checked
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