diff options
author | Tommi Virtanen <tv@eagain.net> | 2014-02-27 09:04:49 -0800 |
---|---|---|
committer | Tommi Virtanen <tv@eagain.net> | 2014-03-13 17:10:33 -0700 |
commit | ed909b43ea7bb591ffd07e94f51bee14a6f72ac7 (patch) | |
tree | 244fe0bc3b2f17b27c7d806672087e54d3c0b5a1 /functional_test.go | |
parent | Merge pull request #64 from benbjohnson/fix-empty-cursor-last (diff) | |
download | dedo-ed909b43ea7bb591ffd07e94f51bee14a6f72ac7.tar.gz dedo-ed909b43ea7bb591ffd07e94f51bee14a6f72ac7.tar.xz |
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 { |