Skip to content

Commit

Permalink
Merge pull request #26 from heyitsanthony/fix-32bit-test
Browse files Browse the repository at this point in the history
fix overflow breaking 32-bit test builds
  • Loading branch information
Anthony Romano committed Aug 11, 2017
2 parents 12923fe + 1ab9756 commit 045bd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ func TestDB_Open_InitialMmapSize(t *testing.T) {
path := tempfile()
defer os.Remove(path)

initMmapSize := 1 << 31 // 2GB
initMmapSize := 1 << 30 // 1GB
testWriteSize := 1 << 27 // 134MB

db, err := bolt.Open(path, 0666, &bolt.Options{InitialMmapSize: initMmapSize})
Expand Down

0 comments on commit 045bd0e

Please sign in to comment.