Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AwaitCondition ¶
AwaitCondition runs the passed 'cond' function every period until it returns true, returning an error if maxWait is exceeded.
func QueryAllElasticsearchDocuments ¶
QueryAllElasticsearchDocuments is a test utility for fetching all documents in the specified elasticsearch index.
func WaitForPort ¶
WaitForPort waits for the passed port number to start accepting connections. This can be used in integration tests to ensure that infrastructure services are available before tests that depend on them start to run. It's necessary because docker-compose returns when the configured containers are created, which doesn't ensure that the services they run are ready.d
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.