File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ def test_statement_idempotency_on_timeout
6262 end
6363
6464 info = session . execute ( 'SELECT * FROM test' , consistency : :one , idempotent : true ) . execution_info
65+ assert_equal 1 , info . retries
6566 assert_equal 2 , info . hosts . size
6667 assert_equal '127.0.0.1' , info . hosts [ 0 ] . ip . to_s
6768 assert_equal '127.0.0.2' , info . hosts [ 1 ] . ip . to_s
@@ -101,6 +102,7 @@ def test_statement_idempotency_on_timeout_no_keyspace_predefined
101102 end
102103
103104 info = session . execute ( 'SELECT * FROM simplex.test' , consistency : :one , idempotent : true ) . execution_info
105+ assert_equal 1 , info . retries
104106 assert_equal 2 , info . hosts . size
105107 assert_equal '127.0.0.1' , info . hosts [ 0 ] . ip . to_s
106108 assert_equal '127.0.0.2' , info . hosts [ 1 ] . ip . to_s
You can’t perform that action at this time.
0 commit comments