diff --git a/pkg/registry/core/service/ipallocator/allocator_test.go b/pkg/registry/core/service/ipallocator/allocator_test.go index e821a6a1016..86527154c77 100644 --- a/pkg/registry/core/service/ipallocator/allocator_test.go +++ b/pkg/registry/core/service/ipallocator/allocator_test.go @@ -224,6 +224,11 @@ func TestRangeSize(t *testing.T) { cidr: "192.168.1.0/24", addrs: 256, }, + { + name: "supported large IPv4 cidr", + cidr: "10.96.0.0/12", + addrs: 1048576, + }, { name: "unsupported IPv4 cidr", cidr: "192.168.1.0/1",