facebook / mysql-5.6

Facebook's branch of the Oracle MySQL database. This includes MyRocks.
http://myrocks.io
Other
2.48k stars 714 forks source link

Mark INFORMATION_SCHEMA.SOCKET_DIAG_SLAVES tests as Linux-only #1348

Closed laurynas-biveinis closed 1 year ago

laurynas-biveinis commented 1 year ago

Because the table is present only on Linux, i.e. on macOS:

[ 85%] main.socket_diag_slaves_ssl 'innodb_intrinsic_table' w6 [ fail ] Test ended at 2023-09-04 14:24:58

CURRENT_TEST: main.socket_diag_slaves_ssl mysqltest: At line 13: Query 'SELECT * FROM information_schema.socket_diag_slaves' failed. ERROR 1109 (42S02): Unknown table 'SOCKET_DIAG_SLAVES' in information_schema

At the same time swap have_debug.inc with master-slave.inc in socket_diag_slaves_list so that a cheap check comes before expensive setup.

Squash with accb01cc760345cba3f01776c997780935b6546b

facebook-github-bot commented 1 year ago

@luqun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.