ci: swap ci parallelization for unconstrained gomaxprocs

This commit is contained in:
Seth Hoenig
2022-03-15 07:42:43 -05:00
parent d371f456dc
commit b242957990
419 changed files with 4816 additions and 2697 deletions

View File

@@ -6,6 +6,7 @@ import (
"strings"
"testing"
"github.com/hashicorp/nomad/ci"
"github.com/hashicorp/nomad/helper/uuid"
"github.com/hashicorp/nomad/nomad/mock"
"github.com/hashicorp/nomad/nomad/structs"
@@ -20,7 +21,7 @@ import (
var _ cli.Command = &AllocExecCommand{}
func TestAllocExecCommand_Fails(t *testing.T) {
t.Parallel()
ci.Parallel(t)
srv, client, url := testServer(t, true, nil)
defer srv.Shutdown()
@@ -143,8 +144,8 @@ func TestAllocExecCommand_Fails(t *testing.T) {
}
func TestAllocExecCommand_AutocompleteArgs(t *testing.T) {
ci.Parallel(t)
assert := assert.New(t)
t.Parallel()
srv, _, url := testServer(t, true, nil)
defer srv.Shutdown()
@@ -167,7 +168,7 @@ func TestAllocExecCommand_AutocompleteArgs(t *testing.T) {
}
func TestAllocExecCommand_Run(t *testing.T) {
t.Parallel()
ci.Parallel(t)
srv, client, url := testServer(t, true, nil)
defer srv.Shutdown()