Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix tests

Chris Lu2844c70ecf5d
diff --git a/test/kafka/e2e/offset_management_test.go b/test/kafka/e2e/offset_management_test.go
index 11bbdc5ea7..0df5b9d43c 100644
--- a/test/kafka/e2e/offset_management_test.go
+++ b/test/kafka/e2e/offset_management_test.go
@@ -27,17 +27,19 @@ func TestOffsetManagement(t *testing.T) {
t.Logf("Running offset management tests with mock backend - offsets are in-memory only")
}
- topic := testutil.GenerateUniqueTopicName("offset-management")
+ topic1 := testutil.GenerateUniqueTopicName("offset-management")
+ topic2 := testutil.GenerateUniqueTopicName("offset-resumption")
groupID := testutil.GenerateUniqueGroupID("offset-test-group")
- gateway.AddTestTopic(topic)
+ gateway.AddTestTopic(topic1)
+ gateway.AddTestTopic(topic2)
t.Run("BasicOffsetCommitFetch", func(t *testing.T) {
- testBasicOffsetCommitFetch(t, addr, topic, groupID)
+ testBasicOffsetCommitFetch(t, addr, topic1, groupID)
})
t.Run("ConsumerGroupResumption", func(t *testing.T) {
- testConsumerGroupResumption(t, addr, topic, groupID+"2")
+ testConsumerGroupResumption(t, addr, topic2, groupID+"2")
})
}