Skip to content

Commit 2660d2d

Browse files
committed
Change the autogenerated topic name to conform with Azure limits
Azure does only allow letters, digits and dash `-` (if not first, nor last) in the names of Storage Queues. Closes #424
1 parent d20a605 commit 2660d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pubsub/tests/test_pubsub.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)