Skip to content

Commit

Permalink
update test to remove code and comments for verifyTopicDeleteWorks
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesBLewis committed Jul 5, 2024
1 parent 855972e commit 6c36c4b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions protocol/pubsub/v2/internal/connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func TestPublishCreateTopic(t *testing.T) {
verifyTopicDeleteWorks(t, client, psconn, topicID)
}

// Test that publishing to an already created topic works and doesn't allow topic deletion
// Test that publishing to a topic with non default publish settings
func TestPublishWithCustomPublishSettings(t *testing.T) {
t.Run("create topic and publish to it with custom settings", func(t *testing.T) {
ctx := context.Background()
Expand Down Expand Up @@ -210,8 +210,6 @@ func TestPublishWithCustomPublishSettings(t *testing.T) {
if _, err := psconn.Publish(ctx, msg); err != nil {
t.Errorf("failed to publish message: %v", err)
}

verifyTopicDeleteFails(t, client, psconn, topicID)
})
}

Expand Down

0 comments on commit 6c36c4b

Please sign in to comment.