Skip to content

Commit

Permalink
Remove todo from lua test (#4894)
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf authored Jan 8, 2020
1 parent 74944b9 commit a8c2c9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rootfs/etc/nginx/lua/test/balancer_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,7 @@ describe("Balancer", function()
assert.has_no.errors(function() balancer.sync_backend(backend) end)
assert.spy(s_ngx_log).was_called_with(ngx.INFO,
"LB algorithm changed from round_robin to ewma, resetting the instance")
-- TODO(elvinefendi) figure out why
-- assert.spy(s).was_called_with(new_implementation, backend) does not work here
assert.spy(s).was_called_with(new_implementation, backend)
assert.spy(s).was_called(1)
assert.spy(s_old).was_not_called()
end)
Expand Down

0 comments on commit a8c2c9c

Please sign in to comment.