Module test_util

Module test_util 

Source

Structs§

MockDatanodeManager
A mock struct implements [NodeManager] only implement the datanode method.
MockFlownodeManager
A mock struct implements [NodeManager] only implement the flownode method.
MockNode 🔒
A mock struct implements Datanode.
NoopPeerResolver

Traits§

MockDatanodeHandler
MockFlownodeHandler

Functions§

etcd_certs_dir
Returns the directory of the etcd TLS certs.
new_ddl_context
Returns a test purpose DdlContext.
new_ddl_context_with_kv_backend
Returns a test purpose DdlContext with a specified KvBackendRef.
test_certs_dir
Returns the directory of the test certs.
test_kafka_topic_pool
Create a kafka topic pool for testing.

Type Aliases§

AffectedRows