mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-04 19:17:46 +01:00
fix tests
This commit is contained in:
1 parent
e5f72077ee
commit
2844c70ecf
1 file changed
+6
-4
@@ -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")
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user