diff --git a/spec/02-integration/18-hybrid_rpc/01-rpc_spec.lua b/spec/02-integration/18-hybrid_rpc/01-rpc_spec.lua index bdcbd6f1c5fa..73535807692f 100644 --- a/spec/02-integration/18-hybrid_rpc/01-rpc_spec.lua +++ b/spec/02-integration/18-hybrid_rpc/01-rpc_spec.lua @@ -50,7 +50,9 @@ for _, strategy in helpers.each_strategy() do local body = assert.res_status(200, res) local json = cjson.decode(body) - --[[ TODO: need a new test method + assert(json) + + -- TODO: need a new test method for _, v in pairs(json.data) do if v.ip == "127.0.0.1" and v.rpc_capabilities and #v.rpc_capabilities ~= 0 then table.sort(v.rpc_capabilities) @@ -61,7 +63,6 @@ for _, strategy in helpers.each_strategy() do end return true - --]] end, 10) end) end) diff --git a/spec/02-integration/18-hybrid_rpc/04-concentrator_spec.lua b/spec/02-integration/18-hybrid_rpc/04-concentrator_spec.lua index 626193e35b49..600a8872f995 100644 --- a/spec/02-integration/18-hybrid_rpc/04-concentrator_spec.lua +++ b/spec/02-integration/18-hybrid_rpc/04-concentrator_spec.lua @@ -2,9 +2,8 @@ local helpers = require "spec.helpers" local cjson = require("cjson.safe") ---[[ -- keep it for future usage -local function obtain_dp_node_id() +local function obtain_dp_node_id() -- luacheck: ignore local dp_node_id helpers.wait_until(function() @@ -27,7 +26,6 @@ local function obtain_dp_node_id() return dp_node_id end ---]] for _, inc_sync in ipairs { "on", "off" } do