Skip to content

Commit 457a4e1

Browse files
committed
Fix simulacron.test_policies.test_delay_can_be_0 to not use protocol v5
1 parent a04c592 commit 457a4e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/simulacron/test_policies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def test_delay_can_be_0(self):
184184
spec = ExecutionProfile(load_balancing_policy=RoundRobinPolicy(),
185185
speculative_execution_policy=ConstantSpeculativeExecutionPolicy(0, number_of_requests))
186186

187-
cluster = Cluster(compression=False)
187+
cluster = Cluster(protocol_version=PROTOCOL_VERSION, compression=False)
188188
cluster.add_execution_profile("spec", spec)
189189
session = cluster.connect(wait_for_all_pools=True)
190190
self.addCleanup(cluster.shutdown)

0 commit comments

Comments
 (0)