Actions
Bug #25303
openDatabase tests have non temporary DDL that prevents running them twice
Status:
Pending technical review
Priority:
N/A
Assignee:
Category:
Architecture - Test
Target version:
Pull Request:
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