diff --git a/Taskfile.yml b/Taskfile.yml index e62e419ab4a..ea46850fcd2 100755 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -95,10 +95,12 @@ tasks: - task: go:build dir: '{{default "./" .GO_MODULE_PATH}}' cmds: + # "-p 1" will not run test in parallel, this is required for integration tests - | go test \ -v \ -short \ + -p 1 \ -run '{{default ".*" .GO_TEST_REGEX}}' \ {{default "-timeout 10m -coverpkg=./... -covermode=atomic" .GO_TEST_FLAGS}} \ -coverprofile=coverage_unit.txt \ diff --git a/internal/integrationtest/upgrade/upgrade_test.go b/internal/integrationtest/upgrade/upgrade_test.go index 4c503d80fef..04e359d1ac3 100644 --- a/internal/integrationtest/upgrade/upgrade_test.go +++ b/internal/integrationtest/upgrade/upgrade_test.go @@ -28,9 +28,9 @@ func TestUpgrade(t *testing.T) { defer env.CleanUp() // Updates index for cores and libraries - _, _, err := cli.Run("core", "update-idex") + _, _, err := cli.Run("core", "update-index") require.NoError(t, err) - _, _, err = cli.Run("lib", "update-idex") + _, _, err = cli.Run("lib", "update-index") require.NoError(t, err) // Installs an outdated core and library