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