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 (
|
||||
"crypto/tls"
|
||||
@@ -17,13 +17,14 @@ import (
|
||||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
||||
var _ = Describe("Handshake integration tets", func() {
|
||||
var _ = Describe("Handshake RTT tests", func() {
|
||||
var (
|
||||
proxy *quicproxy.QuicProxy
|
||||
server quic.Listener
|
||||
serverConfig *quic.Config
|
||||
testStartedAt time.Time
|
||||
)
|
||||
|
||||
rtt := 400 * time.Millisecond
|
||||
|
||||
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 (
|
||||
. "github.com/onsi/ginkgo"
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestHandshakes(t *testing.T) {
|
||||
func TestSelf(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "Handshake integration tests")
|
||||
RunSpecs(t, "Self integration tests")
|
||||
}
|
||||
Reference in New Issue
Block a user