Skip to content

Commit

Permalink
Revert "test(cmd): fix flaky can receive USR1 test (#10903)"
Browse files Browse the repository at this point in the history
This reverts commit 453bce9.
  • Loading branch information
AndyZhang0707 committed Sep 18, 2023
1 parent 6886bc2 commit 55148c0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions spec/02-integration/02-cmd/13-signals_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ describe("signals", function()
assert(helpers.start_kong())
helpers.signal(nil, "-USR1")

helpers.wait_until(function()
local conf = helpers.get_running_conf()
local _, code = helpers.execute("grep -F '(SIGUSR1) received from' " ..
conf.nginx_err_logs, true)
return 0 == code, "SIGUSR1 not received"
end)
local conf = helpers.get_running_conf()
local _, code = helpers.execute("grep -F '(SIGUSR1) received from' " ..
conf.nginx_err_logs, true)
assert.equal(0, code)
end)

it("can receive USR2 #flaky", function()
Expand Down

0 comments on commit 55148c0

Please sign in to comment.