aboutsummaryrefslogtreecommitdiff
path: root/tx_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tx_test.go')
-rw-r--r--tx_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/tx_test.go b/tx_test.go
index abdd6d4..d3ad131 100644
--- a/tx_test.go
+++ b/tx_test.go
@@ -310,6 +310,10 @@ func TestTxCursorRestart(t *testing.T) {
// Ensure that a Tx can iterate over all elements in a bucket.
func TestTxCursorIterate(t *testing.T) {
+ if testing.Short() {
+ t.Skip("skipping test in short mode.")
+ }
+
f := func(items testdata) bool {
withOpenDB(func(db *DB, path string) {
// Bulk insert all values.
@@ -347,6 +351,10 @@ func TestTxCursorIterate(t *testing.T) {
// Ensure that a transaction can iterate over all elements in a bucket in reverse.
func TestTxCursorIterateReverse(t *testing.T) {
+ if testing.Short() {
+ t.Skip("skipping test in short mode.")
+ }
+
f := func(items testdata) bool {
withOpenDB(func(db *DB, path string) {
// Bulk insert all values.