Skip to content

Commit 07951d3

Browse files
committed
Fix client warning feature (CASSANDRA-10876)
1 parent c32a8df commit 07951d3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

features/debugging/execution_info.feature

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,11 @@ Feature: Execution information
8383
'(id, title, album, artist, tags) values ' +
8484
'(?, ?, ?, ?, ?)')
8585
86-
args = [Cassandra::Uuid.new('f6071e72-48ec-4fcb-bf3e-379c8d696488'), 'a' * 5 * 1025, 'a1', 'a1', Set.new(['t1'])]
86+
args0 = [Cassandra::Uuid.new('f6071e72-48ec-4fcb-bf3e-379c8d696488'), 'a' * 5 * 1025, 'a1', 'a1', Set.new(['t1'])]
87+
args1 = [Cassandra::Uuid.new('f6071e72-48ec-4fcb-bf3e-379c8d696498'), 'a' * 5 * 1025, 'a1', 'a1', Set.new(['t1'])]
8788
batch = session.unlogged_batch do |b|
88-
b.add(insert, arguments: args)
89+
b.add(insert, arguments: args0)
90+
b.add(insert, arguments: args1)
8991
end
9092
execution_info = session.execute(batch).execution_info
9193
@@ -94,7 +96,7 @@ Feature: Execution information
9496
When it is executed
9597
Then its output should match:
9698
"""
97-
warnings: Batch of prepared statements for .* is of size .*, exceeding specified threshold of 5120
99+
warnings: Batch.* for .* is of size .*, exceeding specified threshold of 5120
98100
"""
99101

100102
Scenario: execution information reflects retry decision

0 commit comments

Comments
 (0)