@@ -12,6 +12,7 @@ import (
1212 . "github.com/onsi/ginkgo"
1313 . "github.com/onsi/ginkgo/extensions/table"
1414 . "github.com/onsi/gomega"
15+ . "github.com/onsi/gomega/gleak"
1516)
1617
1718const hello = "Hello World!"
@@ -559,6 +560,8 @@ var _ = Describe("Server", func() {
559560
560561 AfterEach(func() {
561562 cancel()
563+ Eventually(Goroutines).ShouldNot(HaveLeaked())
564+
562565 })
563566
564567 Context("with an ipv4 http server", func() {