forked from quic-go/quic-go
re-enable most integration tests
This commit is contained in:
@@ -35,7 +35,7 @@ func init() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
var _ = PDescribe("Chrome tests", func() {
|
var _ = Describe("Chrome tests", func() {
|
||||||
It("loads a simple hello world page using quic", func(done Done) {
|
It("loads a simple hello world page using quic", func(done Done) {
|
||||||
err := wd.Get("https://quic.clemente.io/hello")
|
err := wd.Get("https://quic.clemente.io/hello")
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
@@ -45,7 +45,7 @@ var _ = PDescribe("Chrome tests", func() {
|
|||||||
close(done)
|
close(done)
|
||||||
}, 5)
|
}, 5)
|
||||||
|
|
||||||
It("loads a large number of files", func(done Done) {
|
PIt("loads a large number of files", func(done Done) {
|
||||||
err := wd.Get("https://quic.clemente.io/tiles")
|
err := wd.Get("https://quic.clemente.io/tiles")
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
Eventually(func() error {
|
Eventually(func() error {
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ func runDropTest(incomingPacketDropper, outgoingPacketDropper dropCallback, vers
|
|||||||
Expect(bytes.Contains(session.Out.Contents(), data)).To(BeTrue())
|
Expect(bytes.Contains(session.Out.Contents(), data)).To(BeTrue())
|
||||||
}
|
}
|
||||||
|
|
||||||
var _ = PDescribe("Drop Proxy", func() {
|
var _ = Describe("Drop Proxy", func() {
|
||||||
AfterEach(func() {
|
AfterEach(func() {
|
||||||
proxy.Stop()
|
proxy.Stop()
|
||||||
time.Sleep(time.Millisecond)
|
time.Sleep(time.Millisecond)
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ import (
|
|||||||
. "github.com/onsi/gomega/gexec"
|
. "github.com/onsi/gomega/gexec"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ = PDescribe("Integration tests", func() {
|
var _ = Describe("Integration tests", func() {
|
||||||
clientPath := fmt.Sprintf(
|
clientPath := fmt.Sprintf(
|
||||||
"%s/src/github.com/lucas-clemente/quic-clients/client-%s-debug",
|
"%s/src/github.com/lucas-clemente/quic-clients/client-%s-debug",
|
||||||
os.Getenv("GOPATH"),
|
os.Getenv("GOPATH"),
|
||||||
|
|||||||
Reference in New Issue
Block a user