Skip to content

Commit 6359bed

Browse files
committed
Fix failing test
1 parent 6d38e32 commit 6359bed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/functional/topic_management_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@
3737
unless kafka.supports_api?(Kafka::Protocol::DESCRIBE_CONFIGS_API)
3838
skip("This Kafka version not support ")
3939
end
40+
41+
topic = generate_topic_name
4042
configs = kafka.describe_topic(topic, %w(retention.ms retention.bytes non_exists))
43+
4144
expect(configs.keys).to eql(%w(retention.ms retention.bytes))
4245
expect(configs['retention.ms']).to be_a(String)
4346
expect(configs['retention.bytes']).to be_a(String)

0 commit comments

Comments
 (0)