membphis commented on a change in pull request #2593:
URL: https://github.com/apache/apisix/pull/2593#discussion_r515883309
##########
File path: t/node/upstream-websocket.t
##########
@@ -33,16 +33,15 @@ __DATA__
local t = require("lib.test_admin").test
local code, body = t('/apisix/admin/routes/1',
ngx.HTTP_PUT,
- [[{
- "upstream": {
- "nodes": {
- "127.0.0.1:1980": 1
- },
- "enable_websocket": true,
- "type": "roundrobin"
+ [[{
+ "upstream": {
+ "nodes": {
+ "127.0.0.1:1980": 1
},
- "uri": "/websocket_handshake"
- }]]
Review comment:
missing `}]]`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]