diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-13 17:14:21 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-13 17:14:21 -0700 |
commit | 60fd6f6604e598bf9ef2252f518a70ae6dcc4dda (patch) | |
tree | 244fe0bc3b2f17b27c7d806672087e54d3c0b5a1 /functional_test.go | |
parent | Merge pull request #64 from benbjohnson/fix-empty-cursor-last (diff) | |
parent | Skip long-running tests with go test -short (diff) | |
download | dedo-60fd6f6604e598bf9ef2252f518a70ae6dcc4dda.tar.gz dedo-60fd6f6604e598bf9ef2252f518a70ae6dcc4dda.tar.xz |
Merge pull request #66 from tv42/testing-short
Skip long-running tests with go test -short
Diffstat (limited to 'functional_test.go')
-rw-r--r-- | functional_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functional_test.go b/functional_test.go index a62e6a0..41bffd6 100644 --- a/functional_test.go +++ b/functional_test.go @@ -13,6 +13,10 @@ import ( // Ensure that multiple threads can use the DB without race detector errors. func TestParallelTxs(t *testing.T) { + if testing.Short() { + t.Skip("skipping test in short mode.") + } + var mutex sync.RWMutex err := quick.Check(func(numReaders, batchSize uint, items testdata) bool { |