kubernetes/pkg/registry/core/service/allocator
Davanum Srinivas 00bcbd1311 Fix TestCRD Flake
The DestroyFunc functions returned by generic.NewRawStorage is never
called when we do a StartTestServer() in the test suite. For a quick
hack for now, added TrackStorageCleanup/RegisterStorageCleanup and
CleanupStorage. Note that unless TrackStorageCleanup is called (which
is called only from the test suite) the other two methods are
no-ops essentially. So no change in behavior at runtime. This vastly
brings down the number of goroutines that are left behind when this
test is executed and should reduce if not eliminate the flakiness
of TestCRD
2017-10-29 09:50:12 -04:00
..
storage Fix TestCRD Flake 2017-10-29 09:50:12 -04:00
bitmap_test.go use apimachinery packages instead of client-go packages 2017-01-13 14:04:54 -05:00
bitmap.go Don't use global rand for nodeport and IP allocs 2017-03-16 17:25:07 -07:00
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
interfaces.go Add a ForEach() to bitmap allocator 2016-12-26 21:59:27 -08:00
utils_test.go move core resource registry packages 2016-09-21 10:11:50 -04:00
utils.go move core resource registry packages 2016-09-21 10:11:50 -04:00