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:
Daniel Nephin 2021-04-28 13:46:53 -04:00
parent afa05b0276
commit 8be5a76b19
2 changed files with 2 additions and 9 deletions

View File

@ -14,8 +14,6 @@ import (
)
func TestUpstreamResolverFuncFromClient(t *testing.T) {
t.Parallel()
tests := []struct {
name string
cfg UpstreamConfig

View File

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