mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
ci: swap ci parallelization for unconstrained gomaxprocs
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user