Opened 5 years ago

Closed 5 years ago

#31054 closed Uncategorized (invalid)

Omits test_ prefix from database name when running subset of tests

Reported by: Matthijs Kooijman Owned by: nobody
Component: Uncategorized Version: 3.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

While debugging some test framework issues wrt mysql, I noticed a problem where the test runner would try to access the test database without prefixing test_, leading to an access denied error (because my permissions are set up tightly).

What I suspect happens is that this subset of tests only uses the default database, so only that one is set up by DisoveryRunner.setup_databases. This is confirmed by using a debugger, which shows databases only contains 'default'.

Change History (1)

comment:1 by Matthijs Kooijman, 5 years ago

Resolution: invalid
Status: newclosed

Sorry, this was prematurely created, Trac was having some trouble keeping my logged in, this was potentially a sideffect. #31055 is the actual ticket.

Note: See TracTickets for help on using tickets.
Back to Top