diff --git a/doc/aerospike.rst b/doc/aerospike.rst index 3e4571a7c4..eb730dd2ab 100644 --- a/doc/aerospike.rst +++ b/doc/aerospike.rst @@ -606,7 +606,7 @@ Only the `hosts` key is required; the rest of the keys are optional. Take over tending if the cluster hasn't been checked for this many seconds Default: ``30`` - * **shm_key** + * **shm_key** (:class:`int`) Explicitly set the shm key for this client. If **use_shared_connection** is not set, or set to ``False``, the user must provide a value for this field in order for shared memory to work correctly. diff --git a/test/new_tests/test_client_config_level_options.py b/test/new_tests/test_client_config_level_options.py index f15ee18a28..ab269fb5b3 100644 --- a/test/new_tests/test_client_config_level_options.py +++ b/test/new_tests/test_client_config_level_options.py @@ -318,6 +318,7 @@ def test_config_level_misc_options(): config["shm"]["max_namespaces"] = 8 config["shm"]["max_nodes"] = 3 config["shm"]["takeover_threshold_sec"] = 30 + config["shm"]["shm_key"] = "1000" config["tls"]["crl_check"] = True config["tls"]["crl_check_all"] = True config["tls"]["log_session_info"] = True