Skip to content

Commit

Permalink
pubsub: Don't stop subs when topic is stopped in pstest
Browse files Browse the repository at this point in the history
Fixes #1938

Change-Id: I4f3b1c31ea23690ac81a37e4b160f561a86ad4ab
Reviewed-on: https://code-review.googlesource.com/c/gocloud/+/55690
Reviewed-by: Alex Hong <[email protected]>
  • Loading branch information
grantr authored and hongalex committed May 2, 2020
1 parent 5a20ed8 commit 1466466
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pubsub/pstest/fake.go
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,6 @@ func newTopic(pt *pb.Topic) *topic {
func (t *topic) stop() {
for _, sub := range t.subs {
sub.proto.Topic = "_deleted-topic_"
sub.stop()
}
}

Expand Down

0 comments on commit 1466466

Please sign in to comment.