Module test_util

Source

Structs§

Ca
A certificate authority for use in tests.
ConnectBuilder
A builder struct to configure a pgwire connection to a running TestServer.
Listeners
MzTimestamp
NoHandle
Type parameter that denotes we will not return the mz_ore::task::JoinHandle in the result of a ConnectBuilder.
TestHarness
Entry point for creating and configuring an environmentd test harness.
TestServer
A running instance of environmentd.
TestServerWithRuntime
A running instance of environmentd, that exposes blocking/synchronous test helpers.
WithHandle
Type parameter that denotes we will return the mz_ore::task::JoinHandle in the result of a ConnectBuilder.

Statics§

KAFKA_ADDRS

Traits§

IncludeHandle
This trait enables us to either include or omit the mz_ore::task::JoinHandle in the result of a client connection.
PostgresErrorExt

Functions§

auth_with_ws
auth_with_ws_impl
create_postgres_source_with_table
Helper function to create a Postgres source.
get_explain_timestamp
get_explain_timestamp_determination
insert_with_deterministic_timestamps
Group commit will block writes until the current time has advanced. This can make performing inserts while using deterministic time difficult. This is a helper method to perform writes and advance the current time.
make_header
make_pg_tls
try_get_explain_timestamp
wait_for_pg_table_population