Skip to content

Commit

Permalink
lint clean
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Oct 16, 2024
1 parent 1dcd48a commit 56e6a4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions spec/02-integration/18-hybrid_rpc/01-rpc_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -61,7 +63,6 @@ for _, strategy in helpers.each_strategy() do
end

return true
--]]
end, 10)
end)
end)
Expand Down
4 changes: 1 addition & 3 deletions spec/02-integration/18-hybrid_rpc/04-concentrator_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -27,7 +26,6 @@ local function obtain_dp_node_id()

return dp_node_id
end
--]]


for _, inc_sync in ipairs { "on", "off" } do
Expand Down

0 comments on commit 56e6a4a

Please sign in to comment.