Module tests

Module tests 

Source
Expand description

All unit test fns are exported in the tests module. This module is used for users want to use other async runtime, and want to use the test if memberlist also works with their runtime.

Modules§

memberlist
Re-export the all unit test cases for memberlist
state
Re-export the all unit test cases for state

Enums§

AddressKind
The kind of address

Functions§

get_memberlist
Returns a Memberlist but not alive self for testing purposes.
initialize_tests_tracing
Initialize the tracing for the unit tests.
next_socket_addr_v4
Returns the next socket addr v4
next_socket_addr_v6
Returns the next socket addr v6
run
Run the unit test with a given async runtime sequentially.

Type Aliases§

AnyError
Any error type used for testing.