Skip to content

Commit 1b1e909

Browse files
committed
Fix tests to match new shuffle_replicas default
1 parent 4562943 commit 1b1e909

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/unit/advanced/test_insights.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def test_execution_profile(self):
126126
'options': {'local_dc': '',
127127
'used_hosts_per_remote_dc': 0},
128128
'type': 'DCAwareRoundRobinPolicy'},
129-
'shuffle_replicas': False},
129+
'shuffle_replicas': True},
130130
'type': 'TokenAwarePolicy'},
131131
'readTimeout': 10.0,
132132
'retry': {'namespace': 'cassandra.policies', 'options': {}, 'type': 'RetryPolicy'},
@@ -145,7 +145,7 @@ def test_graph_execution_profile(self):
145145
'options': {'local_dc': '',
146146
'used_hosts_per_remote_dc': 0},
147147
'type': 'DCAwareRoundRobinPolicy'},
148-
'shuffle_replicas': False},
148+
'shuffle_replicas': True},
149149
'type': 'TokenAwarePolicy'},
150150
'readTimeout': 30.0,
151151
'retry': {'namespace': 'cassandra.policies', 'options': {}, 'type': 'NeverRetryPolicy'},
@@ -167,7 +167,7 @@ def test_graph_analytics_execution_profile(self):
167167
'options': {'local_dc': '',
168168
'used_hosts_per_remote_dc': 0},
169169
'type': 'DCAwareRoundRobinPolicy'},
170-
'shuffle_replicas': False},
170+
'shuffle_replicas': True},
171171
'type': 'TokenAwarePolicy'}},
172172
'type': 'DefaultLoadBalancingPolicy'},
173173
'readTimeout': 604800.0,
@@ -195,7 +195,7 @@ def test_token_aware_policy(self):
195195
'options': {'child_policy': {'namespace': 'cassandra.policies',
196196
'options': {},
197197
'type': 'LoadBalancingPolicy'},
198-
'shuffle_replicas': False},
198+
'shuffle_replicas': True},
199199
'type': 'TokenAwarePolicy'}
200200

201201
def test_whitelist_round_robin_policy(self):

0 commit comments

Comments
 (0)