Open NightTsarina opened 7 years ago
From a quick glance, looks like 1 << 30 could be used instead. Want to see whether all tests pass with that change? But using bolt on a 32 bit system might not be a good idea anyway; see the readme.
The readme says it might be "problematic" with large amounts of data. That implies that it's supported.
After changing db_test.go:534 to 1 << 30, there are still some failures:
I was able to make the tests pass by using 1 << 29
Hi,
As reported in Debian bug #849663, BoltDB fails to build tests due to a constant overflow:
I guess using a slightly smaller constant would fix this and make the test work both in 64 and 32 bits architectures, but I am not sure why you used such a big constant in the first place. Could anybody give some insight on this?
Full log: https://tests.reproducible-builds.org/debian/rbuild/unstable/i386/golang-github-boltdb-bolt_1.2.1-2.rbuild.log
Thanks!