Module tests

Source
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.