aboutsummaryrefslogtreecommitdiff
path: root/functional_test.go
diff options
context:
space:
mode:
authorTommi Virtanen <tv@eagain.net>2014-02-27 09:04:49 -0800
committerTommi Virtanen <tv@eagain.net>2014-03-13 17:10:33 -0700
commited909b43ea7bb591ffd07e94f51bee14a6f72ac7 (patch)
tree244fe0bc3b2f17b27c7d806672087e54d3c0b5a1 /functional_test.go
parentMerge pull request #64 from benbjohnson/fix-empty-cursor-last (diff)
downloaddedo-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.go4
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 {