Skip to content

Commit 7b99387

Browse files
w32-blasterrobbavey
authored andcommitted
modify integration spec
1 parent 93c5a79 commit 7b99387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/integration/inputs/kafka_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
let(:group_id_4) {rand(36**8).to_s(36)}
1414
let(:group_id_5) {rand(36**8).to_s(36)}
1515
let(:plain_config) { { 'topics' => ['logstash_topic_plain'], 'codec' => 'plain', 'group_id' => group_id_1, 'auto_offset_reset' => 'earliest'} }
16-
let(:multi_consumer_config) { plain_config.merge({"group_id" => group_id_4, "client_id" => "spec", "consumer_threads" => 3, "pipeline_id" => "spec_pipeline"}) }
16+
let(:multi_consumer_config) { plain_config.merge({"group_id" => group_id_4, "client_id" => "spec", "consumer_threads" => 3}) }
1717
let(:snappy_config) { { 'topics' => ['logstash_topic_snappy'], 'codec' => 'plain', 'group_id' => group_id_1, 'auto_offset_reset' => 'earliest'} }
1818
let(:lz4_config) { { 'topics' => ['logstash_topic_lz4'], 'codec' => 'plain', 'group_id' => group_id_1, 'auto_offset_reset' => 'earliest'} }
1919
let(:pattern_config) { { 'topics_pattern' => 'logstash_topic_.*', 'group_id' => group_id_2, 'codec' => 'plain', 'auto_offset_reset' => 'earliest'} }
@@ -82,7 +82,7 @@ def thread_it(kafka_input, queue)
8282
wait(timeout_seconds).for {queue.length}.to eq(num_events)
8383
expect(queue.length).to eq(num_events)
8484
kafka_input.kafka_consumers.each_with_index do |consumer, i|
85-
expect(consumer.metrics.keys.first.tags["client-id"]).to eq("spec-#{i}-spec_pipeline")
85+
expect(consumer.metrics.keys.first.tags["client-id"]).to eq("spec-#{i}-main")
8686
end
8787
ensure
8888
t.kill

0 commit comments

Comments
 (0)