Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.0(EOL)
-
Not for Release Notes
Description
Some tests fail when they are run on a host with hostname=localhost. It happens because instead of expected 4 'root' records in mysql.user the server has 3. Tests that check for that one or another way fail with mismatches.
We can either add a check and skip such tests, or just document the limitation. Documenting is easier, but I suppose checking and skipping is cleaner and will cause less confusion later, because it's not clear at all from the test output why they fail.
Example: main.join_cache
--- /data/repo/git/10.0/mysql-test/r/join_cache.result 2015-02-26 02:18:30.000000000 +0300
|
+++ /data/repo/git/10.0/mysql-test/r/join_cache.reject 2015-03-12 01:57:06.000000000 +0300
|
@@ -5885,6 +5885,6 @@
|
SELECT * FROM INFORMATION_SCHEMA.PROFILING, mysql.user WHERE password_expired = PAGE_FAULTS_MINOR;
|
id select_type table type possible_keys key key_len ref rows Extra
|
1 SIMPLE PROFILING ALL NULL NULL NULL NULL NULL Using where
|
-1 SIMPLE user hash_ALL NULL #hash#$hj 1 information_schema.PROFILING.PAGE_FAULTS_MINOR 4 Using where; Using join buffer (flat, BNLH join)
|
+1 SIMPLE user hash_ALL NULL #hash#$hj 1 information_schema.PROFILING.PAGE_FAULTS_MINOR 3 Using where; Using join buffer (flat, BNLH join)
|
set join_cache_level=default;
|
set @@optimizer_switch=@save_optimizer_switch;
|
Attachments
Issue Links
- is duplicated by
-
MDEV-25096 main.upgrade_MDEV-19650 test failure: Result content mismatch
-
- Closed
-
-
MDEV-26320 main.selectivity_no_engine fails sometimes with Result content mismatch
-
- Closed
-
-
MDEV-27044 Test main.mysql_upgrade seems unstable
-
- Closed
-
-
MDEV-27045 Test perfschema.privilege_table_io seems unstable
-
- Closed
-
-
MDEV-36030 sysschema.v_privileges_by_table_by_level test fails in network sandbox with hostname set to localhost
-
- Closed
-
-
MDEV-37087 main.mariadb-import test fails in Gentoo network sandbox
-
- Closed
-
-
MDEV-37088 main.information_schema_db test fails in Gentoo network sandbox
-
- Closed
-
-
MDEV-37098 spider test suite failures in Gentoo network sandbox
-
- Closed
-
- links to