Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Skip slower gps tests on -short
Browse files Browse the repository at this point in the history
  • Loading branch information
sdboyer committed Sep 5, 2017
1 parent a87f8cc commit 57e95cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/gps/source_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions internal/gps/vcs_version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 57e95cc

Please sign in to comment.