Bug #68820 incorrect value of bogomips in mysqltest
| Submitted: | 30 Mar 2013 20:27 | Modified: | 16 Apr 2013 15:07 |
|---|---|---|---|
| Reporter: | A B | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Tests | Severity: | S3 (Non-critical) |
| Version: | 5.6 | OS: | Linux |
| Assigned to: | CPU Architecture: | Any |
[11 Apr 2013 1:26]
MySQL Verification Team
Thank you for the bug report.
[16 Apr 2013 15:07]
Paul DuBois
Changes for test suite. No changelog entry needed.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: bogomips valus is incorrect in My/SysInfo.pm, so mysql-test does not decrease number of parallel processes on slow systems How to repeat: compare differnces between 1) perl -MIO::File -MMy::SysInfo -e 'My::SysInfo->new()->print_info()' 2) cat /proc/cpuinfo Suggested fix: --- mysql-test/lib/My/SysInfo.pm 2012-03-06 14:29:42 +0000 +++ mysql-test/lib/My/SysInfo.pm 2013-04-01 05:35:34 +0000 @@ -60,7 +60,7 @@ } # Make sure bogomips is set to some value - $cpuinfo->{bogomips} |= DEFAULT_BOGO_MIPS; + $cpuinfo->{bogomips} ||= DEFAULT_BOGO_MIPS; # Cpus reported once, but with 'cpu_count' set to the actual number my $cpu_count= $cpuinfo->{cpu_count} || 1;