Documentation ¶
Overview ¶
Package integration contains EN Server integration tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Eventually ¶
Eventually retries the given function n times, sleeping 1s between each invocation. To mark an error as retryable, wrap it in retry.RetryableError. Non-retryable errors return immediately.
func IndexFilePath ¶
IndexFilePath returns the filepath of index file under blob storage
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides Exposure Notifications API client to support integration testing.
func NewTestServer ¶
func NewTestServer(tb testing.TB, exportPeriod time.Duration) (*serverenv.ServerEnv, *Client, *testutil.JWTConfig, string, string)
NewTestServer sets up mocked local servers for running tests
func (*Client) CleanupExports ¶
func (*Client) CleanupExposures ¶
func (*Client) ExportBatches ¶
func (*Client) PublishKeys ¶
func (*Client) RotateKeys ¶ added in v0.3.0
func (*Client) StartExportWorkers ¶
Click to show internal directories.
Click to hide internal directories.