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