Issue Task Rejected

#60280Suffix for functional test database

Tomas Norre Mikkelsen 07/11/14, 21:55 updated 02/24/17, 14:59

Description

Hi,

I would like to discuss/suggest the possibility to have a surfix as test-database name in the functional testing.
Right now the name is the original database name surfixed with _ft + sha1(testClassName)

I would like to be able to set my own surfix like _test like in the “old” days where was using the same database for every test. I know you most likely have your arguments for changing this, but i she this as a disadvantage in automate setup/enviroments.

Lets say.

I Create a new database_ft12jd3jak for test A,
I Create a new database_ftdsf221qk for test B etc.

I the test end up dying in some of the process before we reach the cleanup then we can end up floating the database server with incomplete database.

I don’t like the idea that i need to grant my database-user to be allowed to create multiple database with naming convention database_ft*

I don’t know yet how this should be implemented in best practice, but i would like to have some feedback on this topic.

I’m more than happy to help implement a good solutions so this “issue” can be solved.

Any feedback is appreciated.

Reviews 1