Remove todo from lua test (#4894)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-01-08 19:46:52 -03:00 committed by GitHub
parent 74944b99e9
commit a8c2c9c6bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)