brontide: don't run tests that use establishTestConnection in parallel

This commit is contained in:
Olaoluwa Osuntokun 2017-11-01 15:12:02 -07:00
parent e0561c98c9
commit eb84d34b8d
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -85,8 +85,6 @@ func establishTestConnection() (net.Conn, net.Conn, func(), error) {
}
func TestConnectionCorrectness(t *testing.T) {
t.Parallel()
// Create a test connection, grabbing either side of the connection
// into local variables. If the initial crypto handshake fails, then
// we'll get a non-nil error here.
@ -142,7 +140,7 @@ func TestMaxPayloadLength(t *testing.T) {
b := Machine{}
b.split()
// Create a payload that's juust over the maximum alloted payload
// Create a payload that's juust over the maximum allotted payload
// length.
payloadToReject := make([]byte, math.MaxUint16+1)
@ -177,8 +175,6 @@ func TestMaxPayloadLength(t *testing.T) {
}
func TestWriteMessageChunking(t *testing.T) {
t.Parallel()
// Create a test connection, grabbing either side of the connection
// into local variables. If the initial crypto handshake fails, then
// we'll get a non-nil error here.