Bug #43405 | MTR2: when running the testsuite with --debug, it fails at all tests | ||
---|---|---|---|
Submitted: | 5 Mar 2009 9:50 | Modified: | 6 Mar 2009 10:00 |
Reporter: | Guilhem Bichot | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | Tools: MTR / mysql-test-run | Severity: | S3 (Non-critical) |
Version: | 6.0 | OS: | Linux |
Assigned to: | Bjørn Munch | CPU Architecture: | Any |
Tags: | pushbuild, test failure |
[5 Mar 2009 9:50]
Guilhem Bichot
[5 Mar 2009 13:39]
Bjørn Munch
It's the check_warnings test which explicitly sets DEBUG to nothing: set debug=""; Adding 'debug' to 'timestamp' as a variable to ignore in the check test is not a solution; the next test would be run without debug until the server is restarted. We need to store the current debug setting into a variable and then restore it when done.
[6 Mar 2009 10:00]
Bjørn Munch
Duplicate of Bug #38054: "SET SESSION debug" modifies @@global.debug variable This should actually work, and does work on 5.1, but not on 6.0 due to this server bug. As a temporary workaround, add --no-check-test as an option to MTR. You would lose that functionality but the tests should not stumble on this problem.