Documentation ¶ Index ¶ func Context(t *testing.T) (context.Context, context.CancelFunc) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Context ¶ func Context(t *testing.T) (context.Context, context.CancelFunc) Context returns a context with a deadline set to the test deadline - 1 min to ensure cleanup. If the test deadline is not set, a deadline is set to Now + 24h to prevent the test from running indefinitely Types ¶ This section is empty. Source Files ¶ View all Source files helpers.go Click to show internal directories. Click to hide internal directories.