Rename handshake/ to self/, will be the place for future quic-go self tests

This commit is contained in:
Lucas Clemente
2017-08-03 20:49:08 +02:00
parent 57e0616b3d
commit 0b1d7c46f5
3 changed files with 7 additions and 5 deletions

View File

@@ -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() {

View File

@@ -0,0 +1 @@
package self

View File

@@ -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")
} }