Opened 9 months ago

Closed 8 months ago

Last modified 8 months 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 Changed 9 months ago by Sergey Fedoseev

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

comment:2 Changed 9 months ago by felixxm

Triage Stage: UnreviewedAccepted

comment:3 Changed 8 months ago by Tim Graham <timograham@…>

Resolution: fixed
Status: assignedclosed

In 9a88c6d:

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

Regression in e1253bc26facfa1d0fca161f43925e99c2591ced.

comment:4 Changed 8 months ago by Tim Graham <timograham@…>

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