testsetup

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SQS

func SQS(t *testing.T, createQueueAttempts int) (sqsSvc *sqs.SQS, queueURL *string, teardown func())

SQS will testsetup the SQS container and return when it is ready to be interacted with. It should be passed a value to specify how many times the function should attempt to create the SQS queue before failing, these attempts are retried every second from when the container starts. A teardown function is also returned which should be invoked once the caller is done with the SQS instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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