mirror of https://github.com/status-im/consul.git
connect/proxy: remove t.Parallel from tests
These tests run in under 10ms, t.Parallel provides no value and makes debuging failures more difficult.
This commit is contained in:
parent
0c9555ec0e
commit
146e1d3878
|
@ -14,8 +14,6 @@ import (
|
|||
)
|
||||
|
||||
func TestUpstreamResolverFuncFromClient(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
tests := []struct {
|
||||
name string
|
||||
cfg UpstreamConfig
|
||||
|
|
|
@ -7,9 +7,10 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/consul/sdk/testutil/retry"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/hashicorp/consul/sdk/testutil/retry"
|
||||
)
|
||||
|
||||
// Assert io.Closer implementation
|
||||
|
@ -65,8 +66,6 @@ func testConnPipelineSetup(t *testing.T) (net.Conn, net.Conn, *Conn, func()) {
|
|||
}
|
||||
|
||||
func TestConn(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
src, dst, c, stop := testConnPipelineSetup(t)
|
||||
defer stop()
|
||||
|
||||
|
@ -124,8 +123,6 @@ func TestConn(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestConnSrcClosing(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
src, dst, c, stop := testConnPipelineSetup(t)
|
||||
defer stop()
|
||||
|
||||
|
@ -164,8 +161,6 @@ func TestConnSrcClosing(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestConnDstClosing(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
src, dst, c, stop := testConnPipelineSetup(t)
|
||||
defer stop()
|
||||
|
||||
|
|
Loading…
Reference in New Issue