kubernetes/cmd/kube-apiserver/app/testing
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
..
BUILD Fix TestCRD Flake 2017-10-29 09:50:12 -04:00
server_test.go Feature gate initializers field 2017-08-28 11:11:48 -04:00
testserver.go Fix TestCRD Flake 2017-10-29 09:50:12 -04:00