summaryrefslogtreecommitdiff
path: root/remote_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 /remote_test.go
parente1467c0641eaf7d3f3c9f5df87b0453747c46ad8 (diff)
parente55c00eca7e70e2d02860cda3cdc9169a88ece36 (diff)
Merge pull request #336 from libgit2/cmn/test-parallel
Run the tests in parallel
Diffstat (limited to 'remote_test.go')
-rw-r--r--remote_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/remote_test.go b/remote_test.go
index 978b803..3d00640 100644
--- a/remote_test.go
+++ b/remote_test.go
@@ -6,6 +6,7 @@ import (
)
func TestListRemotes(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)
@@ -33,6 +34,7 @@ func assertHostname(cert *Certificate, valid bool, hostname string, t *testing.T
}
func TestCertificateCheck(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)
@@ -52,6 +54,7 @@ func TestCertificateCheck(t *testing.T) {
}
func TestRemoteConnect(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)
@@ -63,6 +66,7 @@ func TestRemoteConnect(t *testing.T) {
}
func TestRemoteLs(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)
@@ -81,6 +85,7 @@ func TestRemoteLs(t *testing.T) {
}
func TestRemoteLsFiltering(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)
@@ -107,6 +112,7 @@ func TestRemoteLsFiltering(t *testing.T) {
}
func TestRemotePruneRefs(t *testing.T) {
+ t.Parallel()
repo := createTestRepo(t)
defer cleanupTestRepo(t, repo)
@@ -129,6 +135,7 @@ func TestRemotePruneRefs(t *testing.T) {
}
func TestRemotePrune(t *testing.T) {
+ t.Parallel()
remoteRepo := createTestRepo(t)
defer cleanupTestRepo(t, remoteRepo)