aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2018-03-21 16:44:38 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2018-03-21 16:44:38 +0100
commit4127002950de52da1a5bed93653e54e3cc9ee617 (patch)
tree9d365bd292b2866ab653de47eb0cc460a9528687 /worktree_test.go
parenta39fae69325f5a1faf8fe1b512124f3b77e8612d (diff)
downloadgo-git-4127002950de52da1a5bed93653e54e3cc9ee617.tar.gz
*: skip time consuming tests
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
Diffstat (limited to 'worktree_test.go')
-rw-r--r--worktree_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/worktree_test.go b/worktree_test.go
index cb2e5e2..b3e0a1a 100644
--- a/worktree_test.go
+++ b/worktree_test.go
@@ -8,6 +8,7 @@ import (
"path/filepath"
"regexp"
"runtime"
+ "testing"
"gopkg.in/src-d/go-git.v4/config"
"gopkg.in/src-d/go-git.v4/plumbing"
@@ -196,6 +197,10 @@ func (s *WorktreeSuite) TestPullProgress(c *C) {
}
func (s *WorktreeSuite) TestPullProgressWithRecursion(c *C) {
+ if testing.Short() {
+ c.Skip("skipping test in short mode.")
+ }
+
path := fixtures.ByTag("submodule").One().Worktree().Root()
dir, err := ioutil.TempDir("", "plain-clone-submodule")
@@ -613,6 +618,10 @@ func (s *WorktreeSuite) TestCheckoutTag(c *C) {
}
func (s *WorktreeSuite) TestCheckoutBisect(c *C) {
+ if testing.Short() {
+ c.Skip("skipping test in short mode.")
+ }
+
s.testCheckoutBisect(c, "https://github.com/src-d/go-git.git")
}