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.
pull/34/head
Ben Johnson 2015-06-04 11:48:43 -06:00
parent 34b7c13e04
commit 06e894e661
1 changed files with 4 additions and 0 deletions

View File

@ -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 {