mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 00:25:55 +00:00
adjust columnN range to avoid divide-by-zero error in travisCI
This commit is contained in:
parent
8c3dfff9c9
commit
093500e34e
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ func TestFragment_SetFieldValue(t *testing.T) {
|
|||
if err := quick.Check(func(bitDepth uint, columnN uint64, values []uint64) bool {
|
||||
// Limit bit depth & maximum values.
|
||||
bitDepth = (bitDepth % 62) + 1
|
||||
columnN = (columnN % 100)
|
||||
columnN = (columnN % 99) + 1
|
||||
for i := range values {
|
||||
values[i] = values[i] % (1 << bitDepth)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue