testing

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL