| 1 |
|
| 2 |
|
| 3 |
## Table of testing |
| 4 |
# |
| 5 |
# 1. localhost bindings |
| 6 |
# 2. "not existing hosts" bindings |
| 7 |
# 3. skipped "*" binding |
| 8 |
# 4. skipped "0.0.0.0" binding |
| 9 |
# 5. skipped "empty address" binding |
| 10 |
# 6. skipped "empty network namespace" binding |
| 11 |
# 7. skipped "wildcard with namespace" binding |
| 12 |
# 8. skipped "wrong network namespace" binding |
| 13 |
# 9. skipped "distanthost" binding |
| 14 |
# 10. default bindings |
| 15 |
# |
| 16 |
|
| 17 |
# |
| 18 |
# 1. localhost bindings |
| 19 |
call mtr.add_suppression("Plugin mysqlx reported: 'Value '127.0.0.1' set to `Mysqlx_bind_address`, X Plugin can't bind to it. Skipping this value.'"); |
| 20 |
call mtr.add_suppression("Plugin mysqlx reported: 'Setup of bind-address: '127.0.0.1' port: [0-9]* failed, `bind\\(\\)` failed with error: Address already in use \\([0-9]+\\). Do you already have another mysqld server running with Mysqlx \\?'"); |
| 21 |
# restart: --mysqlx_bind_address=localhost,127.0.0.1 |
| 22 |
include/assert.inc [There status variable must point to 127.0.0.1,127.0.0.1] |
| 23 |
include/assert.inc [There variable must point to localhost,127.0.0.1] |
| 24 |
|
| 25 |
# |
| 26 |
# 2. "not existing hosts" bindings |
| 27 |
call mtr.add_suppression("Plugin mysqlx reported: 'Value 'otherhost' set to `Mysqlx_bind_address`, X Plugin can't bind to it. Skipping this value.'"); |
| 28 |
call mtr.add_suppression("Plugin mysqlx reported: 'Setup of bind-address: 'otherhost' port: [0-9]* failed, can't resolve `hostname`'"); |
| 29 |
call mtr.add_suppression("Plugin mysqlx reported: 'Value 'anotherhost' set to `Mysqlx_bind_address`, X Plugin can't bind to it. Skipping this value.'"); |
| 30 |
call mtr.add_suppression("Plugin mysqlx reported: 'Setup of bind-address: 'anotherhost' port: [0-9]* failed, can't resolve `hostname`'"); |
| 31 |
call mtr.add_suppression("Plugin mysqlx reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible'"); |
| 32 |
# restart: --mysqlx_bind_address=otherhost,anotherhost |
| 33 |
include/assert.inc [There status variable must point to UNDEFINED] |
| 34 |
include/assert.inc [There variable must point to otherhost,anotherhost] |
| 35 |
|
| 36 |
# |
| 37 |
# 3. skipped "*" binding |
| 38 |
call mtr.add_suppression("Plugin mysqlx reported: 'Validation of value '\\*' set to `Mysqlx_bind_address` failed: wildcards are not allowed when there are more than one address. Skipping this value.'"); |
| 39 |
# restart: --mysqlx_bind_address=*,localhost |
| 40 |
include/assert.inc [There status variable must point to 127.0.0.1] |
| 41 |
include/assert.inc [There variable must point to *,localhost] |
| 42 |
|
| 43 |
# |
| 44 |
# 4. skipped "0.0.0.0" binding |
| 45 |
call mtr.add_suppression("Plugin mysqlx reported: 'Validation of value '0.0.0.0' set to `Mysqlx_bind_address` failed: wildcards are not allowed when there are more than one address. Skipping this value.'"); |
| 46 |
# restart: --mysqlx_bind_address=0.0.0.0,localhost |
| 47 |
include/assert.inc [There status variable must point to 127.0.0.1] |
| 48 |
include/assert.inc [There variable must point to 0.0.0.0,localhost] |
| 49 |
|
| 50 |
# |
| 51 |
# 5. skipped "empty address" binding |
| 52 |
call mtr.add_suppression("Plugin mysqlx reported: 'Validation of value '' set to `Mysqlx_bind_address` failed: wildcards are not allowed when there are more than one address. Skipping this value.'"); |
| 53 |
# restart: --mysqlx_bind_address=,localhost |
| 54 |
include/assert.inc [There status variable must point to 127.0.0.1] |
| 55 |
include/assert.inc [There variable must point to ,localhost] |
| 56 |
|
| 57 |
# |
| 58 |
# 6. skipped "empty network namespace" binding |
| 59 |
call mtr.add_suppression("Plugin mysqlx reported: 'Validation of value 'localhost/' set to `Mysqlx_bind_address` failed: can't be parsed as an address. Skipping this value.'"); |
| 60 |
# restart: --mysqlx_bind_address=localhost/,localhost |
| 61 |
include/assert.inc [There status variable must point to 127.0.0.1] |
| 62 |
include/assert.inc [There variable must point to localhost/,localhost] |
| 63 |
|
| 64 |
# |
| 65 |
# 7. skipped "wildcard with namespace" binding |
| 66 |
call mtr.add_suppression("Plugin mysqlx reported: 'Validation of value '\\*/wrong' set to `Mysqlx_bind_address` failed: network namespace are not allowed for wildcards. Skipping this value.'"); |
| 67 |
# restart: --mysqlx_bind_address=*/wrong,localhost |
| 68 |
include/assert.inc [There status variable must point to 127.0.0.1] |
| 69 |
include/assert.inc [There variable must point to */wrong,localhost] |
| 70 |
|
| 71 |
# |
| 72 |
# 8. skipped "wrong network namespace" binding |
| 73 |
call mtr.add_suppression("Plugin mysqlx reported: 'Value 'localhost/wrong' set to `Mysqlx_bind_address`, X Plugin can't bind to it. Skipping this value.'"); |
| 74 |
call mtr.add_suppression("Plugin mysqlx reported: 'Network Namespaces is not supported on this platform'"); |
| 75 |
call mtr.add_suppression("Plugin mysqlx reported: 'Setup of bind-address: 'localhost/wrong' port: [0-9]* failed, '"); |
| 76 |
# restart: --mysqlx_bind_address=localhost/wrong,localhost |
| 77 |
include/assert.inc [There status variable must point to 127.0.0.1] |
| 78 |
include/assert.inc [There variable must point to localhost/wrong,localhost] |
| 79 |
|
| 80 |
# |
| 81 |
# 9. skipped "distanthost" binding |
| 82 |
call mtr.add_suppression("Plugin mysqlx reported: 'Value 'distanthost' set to `Mysqlx_bind_address`, X Plugin can't bind to it. Skipping this value.'"); |
| 83 |
call mtr.add_suppression("Plugin mysqlx reported: 'Setup of bind-address: 'distanthost' port: [0-9]* failed, can't resolve `hostname`'"); |
| 84 |
# restart: --mysqlx_bind_address=distanthost,localhost |
| 85 |
include/assert.inc [There status variable must point to 127.0.0.1] |
| 86 |
include/assert.inc [There variable must point to distanthost,localhost] |
| 87 |
|
| 88 |
# |
| 89 |
# 10. default bindings |
| 90 |
# restart: |
| 91 |
include/assert.inc [There status variable must point to ::] |
| 92 |
include/assert.inc [There variable must point to *] |