| 1 |
## I. Validate that X Plugin sends IO Read notice on read timeout for authenticted connections |
| 2 |
# |
| 3 |
## II. Validate that X Plugin sends only ServerHello notice on read timeout for not authenticted connections |
| 4 |
# |
| 5 |
|
| 6 |
SET GLOBAL mysqlx_read_timeout=5; |
| 7 |
|
| 8 |
# |
| 9 |
# I |
| 10 |
|
| 11 |
# |
| 12 |
# Creating sessions |
| 13 |
connecting... |
| 14 |
active session is now 'session_0' |
| 15 |
Sending 4 bytes raw data... |
| 16 |
connecting... |
| 17 |
active session is now 'session_1' |
| 18 |
Sending 4 bytes raw data... |
| 19 |
connecting... |
| 20 |
active session is now 'session_2' |
| 21 |
Sending 4 bytes raw data... |
| 22 |
connecting... |
| 23 |
active session is now 'session_3' |
| 24 |
Sending 4 bytes raw data... |
| 25 |
connecting... |
| 26 |
active session is now 'session_4' |
| 27 |
Sending 4 bytes raw data... |
| 28 |
connecting... |
| 29 |
active session is now 'session_5' |
| 30 |
Sending 4 bytes raw data... |
| 31 |
connecting... |
| 32 |
active session is now 'session_6' |
| 33 |
Sending 4 bytes raw data... |
| 34 |
connecting... |
| 35 |
active session is now 'session_7' |
| 36 |
Sending 4 bytes raw data... |
| 37 |
connecting... |
| 38 |
active session is now 'session_8' |
| 39 |
Sending 4 bytes raw data... |
| 40 |
connecting... |
| 41 |
active session is now 'session_9' |
| 42 |
Sending 4 bytes raw data... |
| 43 |
|
| 44 |
# |
| 45 |
# Reciving close notices |
| 46 |
switched to session session_0 |
| 47 |
[ASSERT notice warning - ERROR, 1810] |
| 48 |
Server disconnected |
| 49 |
closing session session_0 |
| 50 |
switched to session default |
| 51 |
switched to session session_1 |
| 52 |
[ASSERT notice warning - ERROR, 1810] |
| 53 |
Server disconnected |
| 54 |
closing session session_1 |
| 55 |
switched to session default |
| 56 |
switched to session session_2 |
| 57 |
[ASSERT notice warning - ERROR, 1810] |
| 58 |
Server disconnected |
| 59 |
closing session session_2 |
| 60 |
switched to session default |
| 61 |
switched to session session_3 |
| 62 |
[ASSERT notice warning - ERROR, 1810] |
| 63 |
Server disconnected |
| 64 |
closing session session_3 |
| 65 |
switched to session default |
| 66 |
switched to session session_4 |
| 67 |
[ASSERT notice warning - ERROR, 1810] |
| 68 |
Server disconnected |
| 69 |
closing session session_4 |
| 70 |
switched to session default |
| 71 |
switched to session session_5 |
| 72 |
[ASSERT notice warning - ERROR, 1810] |
| 73 |
Server disconnected |
| 74 |
closing session session_5 |
| 75 |
switched to session default |
| 76 |
switched to session session_6 |
| 77 |
[ASSERT notice warning - ERROR, 1810] |
| 78 |
Server disconnected |
| 79 |
closing session session_6 |
| 80 |
switched to session default |
| 81 |
switched to session session_7 |
| 82 |
[ASSERT notice warning - ERROR, 1810] |
| 83 |
Server disconnected |
| 84 |
closing session session_7 |
| 85 |
switched to session default |
| 86 |
switched to session session_8 |
| 87 |
[ASSERT notice warning - ERROR, 1810] |
| 88 |
Server disconnected |
| 89 |
closing session session_8 |
| 90 |
switched to session default |
| 91 |
switched to session session_9 |
| 92 |
[ASSERT notice warning - ERROR, 1810] |
| 93 |
Server disconnected |
| 94 |
closing session session_9 |
| 95 |
switched to session default |
| 96 |
Mysqlx.Ok { |
| 97 |
msg: "bye!" |
| 98 |
} |
| 99 |
ok |
| 100 |
|
| 101 |
# |
| 102 |
# II |
| 103 |
|
| 104 |
# |
| 105 |
# Creating sessions |
| 106 |
connecting... |
| 107 |
active session is now 'session_0' |
| 108 |
Mysqlx.Notice.Frame(type) = 5 |
| 109 |
connecting... |
| 110 |
active session is now 'session_1' |
| 111 |
Mysqlx.Notice.Frame(type) = 5 |
| 112 |
connecting... |
| 113 |
active session is now 'session_2' |
| 114 |
Mysqlx.Notice.Frame(type) = 5 |
| 115 |
connecting... |
| 116 |
active session is now 'session_3' |
| 117 |
Mysqlx.Notice.Frame(type) = 5 |
| 118 |
connecting... |
| 119 |
active session is now 'session_4' |
| 120 |
Mysqlx.Notice.Frame(type) = 5 |
| 121 |
connecting... |
| 122 |
active session is now 'session_5' |
| 123 |
Mysqlx.Notice.Frame(type) = 5 |
| 124 |
connecting... |
| 125 |
active session is now 'session_6' |
| 126 |
Mysqlx.Notice.Frame(type) = 5 |
| 127 |
connecting... |
| 128 |
active session is now 'session_7' |
| 129 |
Mysqlx.Notice.Frame(type) = 5 |
| 130 |
connecting... |
| 131 |
active session is now 'session_8' |
| 132 |
Mysqlx.Notice.Frame(type) = 5 |
| 133 |
connecting... |
| 134 |
active session is now 'session_9' |
| 135 |
Mysqlx.Notice.Frame(type) = 5 |
| 136 |
|
| 137 |
# |
| 138 |
# Closing connection |
| 139 |
switched to session session_0 |
| 140 |
Server disconnected |
| 141 |
closing session session_0 |
| 142 |
switched to session default |
| 143 |
switched to session session_1 |
| 144 |
Server disconnected |
| 145 |
closing session session_1 |
| 146 |
switched to session default |
| 147 |
switched to session session_2 |
| 148 |
Server disconnected |
| 149 |
closing session session_2 |
| 150 |
switched to session default |
| 151 |
switched to session session_3 |
| 152 |
Server disconnected |
| 153 |
closing session session_3 |
| 154 |
switched to session default |
| 155 |
switched to session session_4 |
| 156 |
Server disconnected |
| 157 |
closing session session_4 |
| 158 |
switched to session default |
| 159 |
switched to session session_5 |
| 160 |
Server disconnected |
| 161 |
closing session session_5 |
| 162 |
switched to session default |
| 163 |
switched to session session_6 |
| 164 |
Server disconnected |
| 165 |
closing session session_6 |
| 166 |
switched to session default |
| 167 |
switched to session session_7 |
| 168 |
Server disconnected |
| 169 |
closing session session_7 |
| 170 |
switched to session default |
| 171 |
switched to session session_8 |
| 172 |
Server disconnected |
| 173 |
closing session session_8 |
| 174 |
switched to session default |
| 175 |
switched to session session_9 |
| 176 |
Server disconnected |
| 177 |
closing session session_9 |
| 178 |
switched to session default |
| 179 |
Mysqlx.Ok { |
| 180 |
msg: "bye!" |
| 181 |
} |
| 182 |
ok |
| 183 |
SET GLOBAL mysqlx_read_timeout= DEFAULT; |