diff --git a/internal/gps/source_manager_test.go b/internal/gps/source_manager_test.go index 75468cd1..d15a5711 100644 --- a/internal/gps/source_manager_test.go +++ b/internal/gps/source_manager_test.go @@ -13,6 +13,10 @@ import ( ) func TestSourceManager_InferConstraint(t *testing.T) { + if testing.Short() { + t.Skip("Skipping slow test in short mode") + } + t.Parallel() // Used in git subtests: diff --git a/internal/gps/vcs_version_test.go b/internal/gps/vcs_version_test.go index 73ad0900..2d85b60f 100644 --- a/internal/gps/vcs_version_test.go +++ b/internal/gps/vcs_version_test.go @@ -12,6 +12,10 @@ import ( ) func TestVCSVersion(t *testing.T) { + if testing.Short() { + t.Skip("Skipping slow test in short mode") + } + h := test.NewHelper(t) defer h.Cleanup() requiresBins(t, "git")