Documentation ¶
Overview ¶
Package historytest contains library test functions for history.NewClient that use ahistory task queue manager. These are not test functions themselves because we construct database clients in another package, which will in turn call this function, but we don't want to put the testing logic there because it's not specific to any database, but it is specific to the history package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestClient ¶
func TestClient(t *testing.T, historyTaskQueueManager persistence.HistoryTaskQueueManager)
TestClient works by doing the following:
- Enqueue some tasks
- Start a server which serves the DLQ endpoints
- Create a client which connects to the server
- Use the client to read the tasks
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.