kubernetes/pkg/registry/core/service
Antonio Ojea b276b4775f Deflake TestServiceRegistryUpdateDryRun test
The test suite was using a /24 cluster network for the allocator.
The ip allocator, if no ip is specified when creating the cluster,
picks one randomly, that means that we had 1/256 chances of
collision.

The TestServiceRegistryUpdateDryRun was creating a service without
a ClusterIP, the ip allocator assigned one random, and it was
never deleting it. The same test was checking later if one
specific IP was not allocated, not taking into consideration
that the same ip may have allocated to the first Service.

To avoid any randomness, we create the first Service with a specific
IP address.
2020-08-18 22:02:55 +02:00
..
allocator Merge pull request #89937 from aojea/portAllocator2 2020-06-18 19:03:10 -07:00
ipallocator Merge pull request #91606 from danwinship/service-ipallocator-cleanups 2020-06-30 00:02:27 -07:00
portallocator Fix staticcheck failures for pkg/registry/... 2020-06-21 17:23:42 +02:00
storage Deflake TestServiceRegistryUpdateDryRun test 2020-08-18 22:02:55 +02:00
BUILD service: fix IPFamily validation and defaulting problems 2020-05-23 11:08:19 -04:00
doc.go
proxy.go Fix scope.Kind of CONNECT subresources. 2018-08-06 18:59:52 -07:00
strategy_test.go service: fix IPFamily validation and defaulting problems 2020-05-23 11:08:19 -04:00
strategy.go service: fix IPFamily validation and defaulting problems 2020-05-23 11:08:19 -04:00