Skip to content

Commit

Permalink
Add missed topic names (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
unjello authored Mar 5, 2024
1 parent c0aecac commit 9d4f783
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pubsub/tests/test_pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ func TestConcurrentSubscribeMultipleTopics(
receivedMessagesCh := make(chan message.Messages, topicsCount)

for i := 0; i < topicsCount; i++ {
topicName := testTopicName(tCtx.TestID) + fmt.Sprintf("_%d", i)
topicName := testTopicName(tCtx.TestID) + fmt.Sprintf("-%d", i)

go func() {
defer subsWg.Done()
Expand Down Expand Up @@ -850,8 +850,8 @@ func TestTopic(
pub, sub := pubSubConstructor(t)
defer closePubSub(t, pub, sub)

topic1 := testTopicName(tCtx.TestID) + "_1"
topic2 := testTopicName(tCtx.TestID) + "_2"
topic1 := testTopicName(tCtx.TestID) + "-1"
topic2 := testTopicName(tCtx.TestID) + "-2"

if subscribeInitializer, ok := sub.(message.SubscribeInitializer); ok {
require.NoError(t, subscribeInitializer.SubscribeInitialize(topic1))
Expand Down

0 comments on commit 9d4f783

Please sign in to comment.