diff --git a/spec/02-integration/18-hybrid_rpc/02-error_spec.lua b/spec/02-integration/18-hybrid_rpc/02-error_spec.lua index 4a00fd32b38..2773fcc245c 100644 --- a/spec/02-integration/18-hybrid_rpc/02-error_spec.lua +++ b/spec/02-integration/18-hybrid_rpc/02-error_spec.lua @@ -62,8 +62,6 @@ for _, strategy in helpers.each_strategy() do assert.logfile(name).has.line( "[rpc] RPC failed, code: -32600, err: empty batch array", true) - assert.logfile(dp_logfile).has.line( - "[rpc] got batch RPC call: 1", true) assert.logfile(name).has.line( "[rpc] RPC failed, code: -32600, err: not a valid object", true) diff --git a/spec/fixtures/custom_plugins/kong/plugins/rpc-error-test/handler.lua b/spec/fixtures/custom_plugins/kong/plugins/rpc-error-test/handler.lua index 58aafafd840..c3bd5da9ed3 100644 --- a/spec/fixtures/custom_plugins/kong/plugins/rpc-error-test/handler.lua +++ b/spec/fixtures/custom_plugins/kong/plugins/rpc-error-test/handler.lua @@ -45,7 +45,7 @@ function RpcErrorTestHandler:init_worker() local msg = setmetatable({}, cjson.array_mt) assert(s:push_request(msg)) - -- send a invalid msg + -- send an invalid msg local msg = ({"invalid_request"}) assert(s:push_request(msg))