Bug #41066 | status2 test fails | ||
---|---|---|---|
Submitted: | 27 Nov 2008 4:39 | Modified: | 27 Nov 2008 9:20 |
Reporter: | Robin Johnson | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Tests | Severity: | S3 (Non-critical) |
Version: | 5.0.72 | OS: | Linux (Gentoo/2.6.28-rc2-00338-g65fc716) |
Assigned to: | CPU Architecture: | Any | |
Tags: | status2 |
[27 Nov 2008 4:39]
Robin Johnson
[27 Nov 2008 5:13]
Robin Johnson
Ok, it's not unique to ps-protocol. I tested on a few more systems and it sometimes fails in ns-protocol as well, same diff output.
[27 Nov 2008 9:20]
Valeriy Kravchuk
I can not repeat this with current 5.0.74 from bzr: openxs@suse:/home2/openxs/dbs/5.0/mysql-test> ./mysql-test-run.pl --ps-protocol status2 Logging: ./mysql-test-run.pl --ps-protocol status2 MySQL Version 5.0.74 Using ndbcluster when necessary, mysqld supports it Setting mysqld to support SSL connections Binaries are debug compiled mysql-test-run: WARNING: Could not find all required ndb binaries, all ndb tests will fail, use --skip-ndbcluster to skip testing it. Using MTR_BUILD_THREAD = 0 Using MASTER_MYPORT = 9306 Using MASTER_MYPORT1 = 9307 Using SLAVE_MYPORT = 9308 Using SLAVE_MYPORT1 = 9309 Using SLAVE_MYPORT2 = 9310 Using NDBCLUSTER_PORT = 9311 Using IM_PORT = 9313 Using IM_MYSQLD1_PORT = 9314 Using IM_MYSQLD2_PORT = 9315 Killing Possible Leftover Processes Removing Stale Files Creating Directories Installing Master Database ======================================================= Starting Tests in the 'main' suite TEST RESULT TIME (ms) ------------------------------------------------------- status2 [ pass ] 135 ------------------------------------------------------- Stopping All Servers skipped 9 bytes from file: socket (3) All 1 tests were successful. The servers were restarted 1 times Spent 0.135 of 4 seconds executing testcases Moreover, after taking a look at the current test code: ... --echo Global status updated; Assert diff == 4 FLUSH STATUS; let $new_questions= `SHOW GLOBAL STATUS LIKE 'questions'`; --disable_log let $diff= `SELECT SUBSTRING('$new_questions',10)-SUBSTRING('$org_quest ions',10)`; --enable_log eval SELECT $diff; disconnect con1; DROP TABLE t1,t2; ... I'd say that 4 is correct result. Looks like it was a bug in test itself that is already fixed.