Skip to content

Commit

Permalink
address pr review feedback (squash this)
Browse files Browse the repository at this point in the history
  • Loading branch information
samugi committed Dec 21, 2023
1 parent ec80b2a commit fc33737
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion kong/pdk/tracing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ local function new_tracer(name, options)
--
-- Else, apply the probability-based should_sample decision.
--
-- @function kong.tracing:set_should_sample
-- @function kong.tracing:get_sampling_decision
-- @tparam bool parent_should_sample value of the parent span sampled flag
-- extracted from the incoming tracing headers
-- @tparam number sampling_rate the sampling rate to apply for the
Expand Down
8 changes: 0 additions & 8 deletions spec/03-plugins/37-opentelemetry/04-exporter_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ for _, strategy in helpers.each_strategy() do
})
assert.res_status(200, r)

-- close client connection
cli:close()

local lines
Expand Down Expand Up @@ -209,7 +208,6 @@ for _, strategy in helpers.each_strategy() do
})
assert.res_status(200, r)

-- close client connection
cli:close()

ngx.sleep(2)
Expand All @@ -230,7 +228,6 @@ for _, strategy in helpers.each_strategy() do
})
assert.res_status(200, r)

-- close client connection
cli:close()

local lines
Expand Down Expand Up @@ -289,7 +286,6 @@ for _, strategy in helpers.each_strategy() do
})
assert.res_status(200, r)

-- close client connection
cli:close()

local lines, err = mock()
Expand Down Expand Up @@ -340,7 +336,6 @@ for _, strategy in helpers.each_strategy() do
})
assert.res_status(200, r)

-- close client connection
cli:close()

local lines
Expand Down Expand Up @@ -438,7 +433,6 @@ for _, strategy in helpers.each_strategy() do
})
assert.res_status(200, r)

-- close client connection
cli:close()

helpers.wait_until(function()
Expand Down Expand Up @@ -509,7 +503,6 @@ for _, strategy in helpers.each_strategy() do
})
assert.res_status(200, r)

-- close client connection
cli:close()

local lines
Expand Down Expand Up @@ -591,7 +584,6 @@ for _, strategy in helpers.each_strategy() do
})
assert.res_status(200, r)

-- close client connection
cli:close()

local lines
Expand Down

0 comments on commit fc33737

Please sign in to comment.