aboutsummaryrefslogtreecommitdiff
path: root/cmd/bolt/main_test.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-06-22 10:10:55 -0600
committerBen Johnson <benbjohnson@yahoo.com>2014-06-22 10:10:55 -0600
commit4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5 (patch)
tree03190de76962bf6166752f086c1abd83bb965ec3 /cmd/bolt/main_test.go
parentMerge pull request #209 from benbjohnson/next-seq-uint64 (diff)
parentAdd Open() options, flock timeout. (diff)
downloaddedo-4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5.tar.gz
dedo-4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5.tar.xz
Merge pull request #208 from benbjohnson/open-timeout
Add Open() options, flock timeout.
Diffstat (limited to 'cmd/bolt/main_test.go')
-rw-r--r--cmd/bolt/main_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bolt/main_test.go b/cmd/bolt/main_test.go
index 9b32cc8..0614d43 100644
--- a/cmd/bolt/main_test.go
+++ b/cmd/bolt/main_test.go
@@ -14,7 +14,7 @@ func open(fn func(*bolt.DB, string)) {
path := tempfile()
defer os.RemoveAll(path)
- db, err := bolt.Open(path, 0600)
+ db, err := bolt.Open(path, 0600, nil)
if err != nil {
panic("db open error: " + err.Error())
}