This is an automated email from the ASF dual-hosted git repository.
hubcio pushed a commit to branch rework_topic_commands
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/rework_topic_commands by this
push:
new 76549a6c7 test(integration): migrate consumer_offset test to
TopicCreateOptions
76549a6c7 is described below
commit 76549a6c70a4fdccaf8164cae2fd6edca355bf56
Author: Hubert Gruszecki <[email protected]>
AuthorDate: Fri Aug 14 23:16:57 2026 +0200
test(integration): migrate consumer_offset test to TopicCreateOptions
Master merge brought the delete_offset test (#3882) still calling
the old 7-argument create_topic, which this branch replaced with
TopicCreateOptions, breaking clippy on the integration crate.
---
core/integration/tests/sdk/consumer_offset.rs | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/core/integration/tests/sdk/consumer_offset.rs
b/core/integration/tests/sdk/consumer_offset.rs
index 3bf715327..5c936c054 100644
--- a/core/integration/tests/sdk/consumer_offset.rs
+++ b/core/integration/tests/sdk/consumer_offset.rs
@@ -44,11 +44,11 @@ async fn
standalone_consumer_deletes_partition_zero_on_none_in_delete_offset(
.create_topic(
&stream_id,
TOPIC_NAME,
- 4,
- CompressionAlgorithm::default(),
- None,
- IggyExpiry::NeverExpire,
- MaxTopicSize::ServerDefault,
+ &TopicCreateOptions {
+ partitions_count: Some(4),
+ message_expiry: Some(IggyExpiry::NeverExpire),
+ ..TopicCreateOptions::default()
+ },
)
.await
.unwrap();