Skip to content

Commit 163b4b4

Browse files
authored
Merge branch 'master' into update-sql-v3
2 parents 79ee939 + 65a89a8 commit 163b4b4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/content/docs/awesome.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ If you know another library or are an author of one, please [add it to the list]
3030
* MongoDB https://github.com/cunyat/watermill-mongodb
3131
* MQTT https://github.com/perfect13/watermill-mqtt
3232
* NSQ https://github.com/chennqqi/watermill-nsq
33+
* Redis Zset https://github.com/stong1994/watermill-rediszset
3334

3435
### Logging
3536

pubsub/tests/test_pubsub.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ func TestConcurrentSubscribeMultipleTopics(
332332
receivedMessagesCh := make(chan message.Messages, topicsCount)
333333

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

337337
go func() {
338338
defer subsWg.Done()
@@ -850,8 +850,8 @@ func TestTopic(
850850
pub, sub := pubSubConstructor(t)
851851
defer closePubSub(t, pub, sub)
852852

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

856856
if subscribeInitializer, ok := sub.(message.SubscribeInitializer); ok {
857857
require.NoError(t, subscribeInitializer.SubscribeInitialize(topic1))
@@ -1214,7 +1214,7 @@ func assertConsumerGroupReceivedMessages(
12141214
}
12151215

12161216
func testTopicName(testID TestID) string {
1217-
return "topic_" + string(testID)
1217+
return "topic-" + string(testID)
12181218
}
12191219

12201220
func closePubSub(t *testing.T, pub message.Publisher, sub message.Subscriber) {

0 commit comments

Comments
 (0)