Skip to content

Commit

Permalink
Fix goroutine error in test (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtaniwaki authored and VaibhavPage committed Mar 13, 2019
1 parent 5fb8ba1 commit 7554db9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gateways/event-source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,12 @@ testKey: testValue
convey.Convey("Event source should be removed", t, func() {
convey.So(i, convey.ShouldNotEqual, 0)
convey.So(event.Message, convey.ShouldEqual, "event_source_is_removed")
wg.Done()
})
goto end
}
}
end:
wg.Done()
}()

convey.Convey("Given new event sources, start consuming events", t, func() {
Expand Down

0 comments on commit 7554db9

Please sign in to comment.