Documentation
¶
Overview ¶
Package testing contains an integration test harness and an integration test for the cluster registry API server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TearDownFunc ¶
type TearDownFunc func()
TearDownFunc is to be called to tear down a test server.
func StartTestServerOrDie ¶
func StartTestServerOrDie(t *testing.T) (*restclient.Config, TearDownFunc)
StartTestServerOrDie calls startTestServer with up to 5 retries on bind error and dies with t.Fatal if it does not succeed.
Click to show internal directories.
Click to hide internal directories.