From a8c2c9c6bc2c3421508fd6907f49d32163db3558 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Wed, 8 Jan 2020 19:46:52 -0300 Subject: [PATCH] Remove todo from lua test (#4894) --- rootfs/etc/nginx/lua/test/balancer_test.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rootfs/etc/nginx/lua/test/balancer_test.lua b/rootfs/etc/nginx/lua/test/balancer_test.lua index a45aeb2cc7..9887f401e6 100644 --- a/rootfs/etc/nginx/lua/test/balancer_test.lua +++ b/rootfs/etc/nginx/lua/test/balancer_test.lua @@ -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)