diff options
| author | Carlos Martín Nieto <[email protected]> | 2016-08-27 19:21:05 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2016-08-27 19:21:05 +0200 |
| commit | e55c00eca7e70e2d02860cda3cdc9169a88ece36 (patch) | |
| tree | 8771d83cc80bb0b48c3e2d87d76156858b3371b4 /note_test.go | |
| parent | 1670c49c7e02ba38aa10072a102a33c3e6d5e1c3 (diff) | |
Run the tests in parallel
This saves about 1s, or 1/3 of the test runtime. The linking is still
much slower, but this we can control.
Diffstat (limited to 'note_test.go')
| -rw-r--r-- | note_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/note_test.go b/note_test.go index 27e04be..9f64eb8 100644 --- a/note_test.go +++ b/note_test.go @@ -8,6 +8,7 @@ import ( ) func TestCreateNote(t *testing.T) { + t.Parallel() repo := createTestRepo(t) defer cleanupTestRepo(t, repo) @@ -27,6 +28,7 @@ func TestCreateNote(t *testing.T) { } func TestNoteIterator(t *testing.T) { + t.Parallel() repo := createTestRepo(t) defer cleanupTestRepo(t, repo) @@ -63,6 +65,7 @@ func TestNoteIterator(t *testing.T) { } func TestRemoveNote(t *testing.T) { + t.Parallel() repo := createTestRepo(t) defer cleanupTestRepo(t, repo) @@ -86,6 +89,7 @@ func TestRemoveNote(t *testing.T) { } func TestDefaultNoteRef(t *testing.T) { + t.Parallel() repo := createTestRepo(t) defer cleanupTestRepo(t, repo) |
