Skip to content

Commit 2daf0c6

Browse files
committed
Change to ProtocolError in session test
1 parent 76d3b7f commit 2daf0c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration/session_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ def test_can_set_protocol_version_explicitly
809809

810810
# C* 3.0+ does not support protocol version < 3
811811
if CCM.cassandra_version >= '3.0.0'
812-
assert_raises(Cassandra::Errors::NoHostsAvailable) do
812+
assert_raises(Cassandra::Errors::ProtocolError) do
813813
Cassandra.cluster(protocol_version: 2)
814814
end
815815
end

0 commit comments

Comments
 (0)