[MDEV-12216] main.mysqld--help 'unix' test is failing when profiling support is not present Created: 2017-03-09  Updated: 2017-05-16  Resolved: 2017-05-16

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.0.29, 10.1.21
Fix Version/s: 10.1.24, 10.0.31, 10.2.7

Type: Bug Priority: Minor
Reporter: Kristyna Streitova Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None


 Description   

It seems that main.mysqld--help 'unix' test is reliant on profiling support presence and if profiling support is not built in, this test fails.

It should probably require 'have_profiling' option during the test run.

Discussed in [1].

Failing test(s): main.mysqld--help
 
main.mysqld--help 'unix'                 [ fail ]
        Test ended at 2016-08-31 19:30:52
 
CURRENT_TEST: main.mysqld--help
--- /usr/share/mysql-test/r/mysqld--help.result 2016-06-23 17:24:42.000000000 +0800
+++ /usr/share/mysql-test/r/mysqld--help.reject 2016-08-31 19:30:51.534354611 +0800
@@ -708,8 +708,6 @@
  --preload-buffer-size=# 
  The size of the buffer that is allocated when preloading
  indexes
- --profiling-history-size=# 
- Limit of query profiling memory
  --progress-report-time=# 
  Seconds between sending progress reports to the client
  for time-consuming statements. Set to 0 to disable
@@ -1267,7 +1265,6 @@
 port 3306
 port-open-timeout 0
 preload-buffer-size 32768
-profiling-history-size 15
 progress-report-time 5
 protocol-version 10
 query-alloc-block-size 8192
 
mysqltest: Result length mismatch
 
 - saving '/usr/share/mysql-test/var/log/main.mysqld--help-unix/' to '/usr/share/mysql-test/var/log/main.mysqld--help-unix/'
 
Only  4033  of 4978 completed.

[1] https://bugzilla.suse.com/show_bug.cgi?id=996821


Generated at Thu Feb 08 07:56:00 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.