From d486ee467aa200d34e39219287052fc94c68f6e6 Mon Sep 17 00:00:00 2001 From: yaling888 <73897884+yaling888@users.noreply.github.com> Date: Tue, 15 Mar 2022 03:39:45 +0800 Subject: [PATCH] Fix: test --- component/fakeip/pool_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/fakeip/pool_test.go b/component/fakeip/pool_test.go index bd034636..0556d78a 100644 --- a/component/fakeip/pool_test.go +++ b/component/fakeip/pool_test.go @@ -87,7 +87,7 @@ func TestPool_CycleUsed(t *testing.T) { for _, pool := range pools { foo := pool.Lookup("foo.com") bar := pool.Lookup("bar.com") - for i := 0; i < 3; i++ { + for i := 0; i < 2; i++ { pool.Lookup(fmt.Sprintf("%d.com", i)) } baz := pool.Lookup("baz.com")