forked from quic-go/quic-go
Rename handshake/ to self/, will be the place for future quic-go self tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
package handshaketests
|
package self_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
@@ -17,13 +17,14 @@ import (
|
|||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ = Describe("Handshake integration tets", func() {
|
var _ = Describe("Handshake RTT tests", func() {
|
||||||
var (
|
var (
|
||||||
proxy *quicproxy.QuicProxy
|
proxy *quicproxy.QuicProxy
|
||||||
server quic.Listener
|
server quic.Listener
|
||||||
serverConfig *quic.Config
|
serverConfig *quic.Config
|
||||||
testStartedAt time.Time
|
testStartedAt time.Time
|
||||||
)
|
)
|
||||||
|
|
||||||
rtt := 400 * time.Millisecond
|
rtt := 400 * time.Millisecond
|
||||||
|
|
||||||
BeforeEach(func() {
|
BeforeEach(func() {
|
||||||
1
integrationtests/self/self.go
Normal file
1
integrationtests/self/self.go
Normal file
@@ -0,0 +1 @@
|
|||||||
|
package self
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package handshaketests
|
package self_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
. "github.com/onsi/ginkgo"
|
. "github.com/onsi/ginkgo"
|
||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestHandshakes(t *testing.T) {
|
func TestSelf(t *testing.T) {
|
||||||
RegisterFailHandler(Fail)
|
RegisterFailHandler(Fail)
|
||||||
RunSpecs(t, "Handshake integration tests")
|
RunSpecs(t, "Self integration tests")
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user