Available on crate feature
test only.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.
Re-exports§
pub use paste;
Modules§
- delegate
- Unit tests for the serf ping delegate related functionalities
- event
- Unit tests for the serf events related functionalities
- join
- Unit tests for the serf join related functionalities
- leave
- Unit tests for the serf leave related functionalities
- reap
- Unit tests for serf reap related functionalities
- reconnect
- Unit tests for the serf reconnect related functionalities
- remove
- Unit tests for the serf remove related functionalities
- snapshot
- Unit tests for the serf snapshot related functionalities
Functions§
- estimate_
max_ keys_ in_ list_ key_ response_ factor - Unit test for queries list key response functionality.
- initialize_
tests_ tracing - Initialize the tracing for the unit tests.
- key_
list_ key_ response_ with_ correct_ size - Unit test for queries list key response functionality.
- next_
socket_ addr_ v4 - Returns the next socket addr v4
- next_
socket_ addr_ v6 - Returns the next socket addr v6
- queries_
conflict_ same_ name - Unit test for queries conflict functionality
- queries_
pass_ through - Unit test for queries pass through functionality
- queries_
ping - Unit test for queries ping functionality
- run
- Run the unit test with a given async runtime sequentially.
- serf_
coordinates - Unit tests for serf coordinates
- serf_
get_ queue_ max - Unit tests for the get queue max
- serf_
local_ member - Unit test for serf local member
- serf_
name_ resolution - Unit tests for serf name resolution
- serf_
num_ nodes - Unit tests for serf num nodes
- serf_
role - Unit tests for the role
- serf_
set_ tags - Unit tests for serf set tags
- serf_
state - Unit test for serf state
- serf_
stats - Unit test for serf stats
- serf_
update - Unit tests for the update
- serf_
write_ keyring_ file - Unit test for serf write keying file
Type Aliases§
- AnyError
- Any error type used for testing.