From ed909b43ea7bb591ffd07e94f51bee14a6f72ac7 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Thu, 27 Feb 2014 09:04:49 -0800 Subject: Skip long-running tests with go test -short --- functional_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'functional_test.go') 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 { -- cgit v1.2.3