mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-28 23:52:31 +02:00
brontide: don't run tests that use establishTestConnection in parallel
This commit is contained in:
@@ -85,8 +85,6 @@ func establishTestConnection() (net.Conn, net.Conn, func(), error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestConnectionCorrectness(t *testing.T) {
|
func TestConnectionCorrectness(t *testing.T) {
|
||||||
t.Parallel()
|
|
||||||
|
|
||||||
// Create a test connection, grabbing either side of the connection
|
// Create a test connection, grabbing either side of the connection
|
||||||
// into local variables. If the initial crypto handshake fails, then
|
// into local variables. If the initial crypto handshake fails, then
|
||||||
// we'll get a non-nil error here.
|
// we'll get a non-nil error here.
|
||||||
@@ -142,7 +140,7 @@ func TestMaxPayloadLength(t *testing.T) {
|
|||||||
b := Machine{}
|
b := Machine{}
|
||||||
b.split()
|
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.
|
// length.
|
||||||
payloadToReject := make([]byte, math.MaxUint16+1)
|
payloadToReject := make([]byte, math.MaxUint16+1)
|
||||||
|
|
||||||
@@ -177,8 +175,6 @@ func TestMaxPayloadLength(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestWriteMessageChunking(t *testing.T) {
|
func TestWriteMessageChunking(t *testing.T) {
|
||||||
t.Parallel()
|
|
||||||
|
|
||||||
// Create a test connection, grabbing either side of the connection
|
// Create a test connection, grabbing either side of the connection
|
||||||
// into local variables. If the initial crypto handshake fails, then
|
// into local variables. If the initial crypto handshake fails, then
|
||||||
// we'll get a non-nil error here.
|
// we'll get a non-nil error here.
|
||||||
|
Reference in New Issue
Block a user