Skip to content

Commit 77f1712

Browse files
committed
Fix fuzz test
1 parent 65840b8 commit 77f1712

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spec/fuzz/consumer_group_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
let(:num_messages) { 10_000 }
44
let(:num_partitions) { 30 }
55
let(:num_consumers) { 10 }
6-
let(:topic) { "fuzz-consumer-group" }
6+
let(:topic) { create_random_topic(num_partitions: num_partitions) }
77
let(:messages) { Set.new((1..num_messages).to_a) }
88

99
before do
1010
logger.level = Logger::INFO
1111

12-
KAFKA_CLUSTER.create_topic(topic, num_partitions: num_partitions, num_replicas: 1)
13-
1412
kafka = Kafka.new(seed_brokers: kafka_brokers, logger: logger)
1513
producer = kafka.producer(max_buffer_size: 5000)
1614

0 commit comments

Comments
 (0)