aboutsummaryrefslogtreecommitdiff
path: root/bucket_test.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2015-06-04 11:48:43 -0600
committerBen Johnson <benbjohnson@yahoo.com>2015-06-04 11:48:43 -0600
commit06e894e661b87a83fa275f508f97f382453b7734 (patch)
tree5e9065a3c478ccb09fe7577d77a7859f148da016 /bucket_test.go
parentMerge pull request #367 from mdlayher/master (diff)
downloaddedo-06e894e661b87a83fa275f508f97f382453b7734.tar.gz
dedo-06e894e661b87a83fa275f508f97f382453b7734.tar.xz
Fix Drone CI.
This commit ignores the TestBucket_Put_ValueTooLarge test on Drone CI because the containers do not have enough memory. This test will still be run by anyone else who runs the test suite so that will still provide coverage.
Diffstat (limited to 'bucket_test.go')
-rw-r--r--bucket_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/bucket_test.go b/bucket_test.go
index 8c18757..62b8c58 100644
--- a/bucket_test.go
+++ b/bucket_test.go
@@ -642,6 +642,10 @@ func TestBucket_Put_KeyTooLarge(t *testing.T) {
// Ensure that an error is returned when inserting a value that's too large.
func TestBucket_Put_ValueTooLarge(t *testing.T) {
+ if os.Getenv("DRONE") == "true" {
+ t.Skip("not enough RAM for test")
+ }
+
db := NewTestDB()
defer db.Close()
db.Update(func(tx *bolt.Tx) error {