Skip to content

Commit

Permalink
Change the autogenerated topic name to conform with Azure limits
Browse files Browse the repository at this point in the history
Azure does only allow letters, digits and dash `-` (if not first,
nor last) in the names of Storage Queues.

Closes ThreeDotsLabs#424
  • Loading branch information
unjello committed Mar 5, 2024
1 parent d20a605 commit 2660d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pubsub/tests/test_pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ func assertConsumerGroupReceivedMessages(
}

func testTopicName(testID TestID) string {
return "topic_" + string(testID)
return "topic-" + string(testID)
}

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

0 comments on commit 2660d2d

Please # to comment.