Skip to content

Commit

Permalink
Updated custom_size_based_buffer.rb
Browse files Browse the repository at this point in the history
** Updated the kusto_spec.rb test
  • Loading branch information
MonishkaDas committed Oct 16, 2024
1 parent 9c84304 commit fce671f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/outputs/kusto_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
kusto.multi_receive_encoded(encoded_events)

buffer = kusto.instance_variable_get(:@buffer)
expect(buffer.instance_variable_get(:@buffer).size).to eq(2)
expect(buffer.instance_variable_get(:@buffer_state)[:pending_items].size).to eq(2)
RSpec.configuration.reporter.message("Completed test: processes events and adds them to the buffer")
end

Expand Down

0 comments on commit fce671f

Please sign in to comment.