summaryrefslogtreecommitdiff
path: root/index_test.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2016-08-27 21:03:29 +0200
committerGitHub <[email protected]>2016-08-27 21:03:29 +0200
commit241aa34d83b210ceaab7029c46e05794f2ea9797 (patch)
tree7e659767de41a1b647f21a2de309c8384003ce5d /index_test.go
parente1467c0641eaf7d3f3c9f5df87b0453747c46ad8 (diff)
parente55c00eca7e70e2d02860cda3cdc9169a88ece36 (diff)
Merge pull request #336 from libgit2/cmn/test-parallel
Run the tests in parallel
Diffstat (limited to 'index_test.go')
-rw-r--r--index_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/index_test.go b/index_test.go
index 5f6b375..600b8b1 100644
--- a/index_test.go
+++ b/index_test.go
@@ -8,6 +8,7 @@ import (
)
func TestCreateRepoAndStage(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)
@@ -24,6 +25,7 @@ func TestCreateRepoAndStage(t *testing.T) {
}
func TestIndexReadTree(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)
@@ -53,6 +55,7 @@ func TestIndexReadTree(t *testing.T) {
}
func TestIndexWriteTreeTo(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)
@@ -72,6 +75,7 @@ func TestIndexWriteTreeTo(t *testing.T) {
}
func TestIndexAddAndWriteTreeTo(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)
@@ -106,6 +110,7 @@ func TestIndexAddAndWriteTreeTo(t *testing.T) {
}
func TestIndexAddAllNoCallback(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)
@@ -127,6 +132,7 @@ func TestIndexAddAllNoCallback(t *testing.T) {
}
func TestIndexAddAllCallback(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)
@@ -155,6 +161,7 @@ func TestIndexAddAllCallback(t *testing.T) {
}
func TestIndexOpen(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)