Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Water-Melon committed Dec 20, 2023
1 parent 5a1a31a commit e6441a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/03-plugins/34-zipkin/zipkin_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ local function wait_for_spans(zipkin_client, number_of_spans, remoteServiceName,
local spans = {}
helpers.wait_until(function()
if trace_id then
ngx.sleep(1)
local res = assert(zipkin_client:get("/api/v2/trace/" .. trace_id))
spans = cjson.decode(assert.response(res).has.status(200))
return #spans == number_of_spans
Expand Down

0 comments on commit e6441a5

Please sign in to comment.