Skip to content

Commit 9827460

Browse files
committed
fix tests
1 parent 7b80998 commit 9827460

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

logstash-core/spec/logstash/instrument/wrapped_write_client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def threaded_read_client
125125

126126
context "WrappedAckedQueue" do
127127
let(:path) { Stud::Temporary.directory }
128-
let(:queue) { LogStash::WrappedAckedQueue.new(path, 1024, 10, 1024, 1024, 1024, false, 4096) }
128+
let(:queue) { LogStash::WrappedAckedQueue.new(path, 1024, 10, 1024, 1024, false, 4096) }
129129

130130
before do
131131
read_client.set_events_metric(metric.namespace([:stats, :events]))

logstash-core/spec/logstash/util/wrapped_acked_queue_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@
5252
let(:max_bytes) { 0 }
5353
let(:checkpoint_acks) { 1024 }
5454
let(:checkpoint_writes) { 1024 }
55-
let(:checkpoint_interval) { 0 }
5655
let(:path) { Stud::Temporary.directory }
57-
let(:queue) { LogStash::WrappedAckedQueue.new(path, page_capacity, max_events, checkpoint_acks, checkpoint_writes, checkpoint_interval, false, max_bytes) }
56+
let(:queue) { LogStash::WrappedAckedQueue.new(path, page_capacity, max_events, checkpoint_acks, checkpoint_writes, false, max_bytes) }
5857

5958
after do
6059
queue.close

0 commit comments

Comments
 (0)