Fixed some docs
This commit is contained in:
@@ -526,7 +526,7 @@ class LoadBalancingPolicyTests(unittest.TestCase):
|
||||
@since 3.8
|
||||
@jira_ticket PYTHON-676
|
||||
@expected_result the request are spread across the replicas,
|
||||
when one of them is down, the requests target the avaiable one
|
||||
when one of them is down, the requests target the available one
|
||||
|
||||
@test_category policy
|
||||
"""
|
||||
@@ -554,7 +554,7 @@ class LoadBalancingPolicyTests(unittest.TestCase):
|
||||
@since 3.8
|
||||
@jira_ticket PYTHON-676
|
||||
@expected_result the request are spread across the replicas,
|
||||
when one of them is down, the requests target the other avaiable ones
|
||||
when one of them is down, the requests target the other available ones
|
||||
|
||||
@test_category policy
|
||||
"""
|
||||
|
||||
@@ -767,15 +767,6 @@ class TokenAwarePolicyTest(unittest.TestCase):
|
||||
|
||||
@patch('cassandra.policies.shuffle')
|
||||
def _assert_shuffle(self, patched_shuffle, keyspace, routing_key):
|
||||
"""
|
||||
Test to validate the hosts are shuffled when the `shuffle_replicas` is truthy
|
||||
@since 3.8
|
||||
@jira_ticket PYTHON-676
|
||||
@expected_result shuffle should be called when the `shuffle_replicas` is truthy
|
||||
if the keyspace and the routing key are set
|
||||
|
||||
@test_category policy
|
||||
"""
|
||||
hosts = [Host(str(i), SimpleConvictionPolicy) for i in range(4)]
|
||||
for host in hosts:
|
||||
host.set_up()
|
||||
|
||||
Reference in New Issue
Block a user