Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#29827 closed Bug (fixed)

cloned DBs are not reused during tests on MySQL

Reported by: Sergey Fedoseev Owned by: Sergey Fedoseev
Component: Testing framework Version: 2.0
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When I'm using tests/runtests.py --parallel=8 -k, I expect following runs to be faster than the prior one, because test DBs are created once and are reused in the following runs. On MySQL they take the same time. I see mysqldump in processes every time I run tests.

It seems that this regression was introduced in e1253bc26facfa1d0fca161f43925e99c2591ced.

Change History (4)

comment:1 by Sergey Fedoseev, 6 years ago

Has patch: set
Owner: changed from nobody to Sergey Fedoseev
Status: newassigned

comment:2 by Mariusz Felisiak, 6 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Tim Graham <timograham@…>, 6 years ago

Resolution: fixed
Status: assignedclosed

In 9a88c6d:

Fixed #29827 -- Fixed reuse of test databases with --keepdb on MySQL.

Regression in e1253bc26facfa1d0fca161f43925e99c2591ced.

comment:4 by Tim Graham <timograham@…>, 6 years ago

In 69603b3e:

[2.1.x] Fixed #29827 -- Fixed reuse of test databases with --keepdb on MySQL.

Regression in e1253bc26facfa1d0fca161f43925e99c2591ced.
Backport of 9a88c6dd6aa84a1b35e585faa0058a0996cc7ed7 from master.

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