mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Reduce iterations in TestFragment_RowsIteration
We don't really learn more from trying every multiple of 10,000 than we do from trying maybe 32 values, and it's worse at larger shard widths.
This commit is contained in:
parent
52aa3e2e23
commit
44569fa210
1 changed files with 2 additions and 2 deletions
|
|
@ -2760,9 +2760,9 @@ func TestFragment_RowsIteration(t *testing.T) {
|
|||
defer f.Clean(t)
|
||||
|
||||
expectedRows := make([]uint64, 0)
|
||||
for r := uint64(1); r < uint64(10000); r += 100 {
|
||||
for r := uint64(1); r < uint64(10000); r += 250 {
|
||||
expectedRows = append(expectedRows, r)
|
||||
for c := uint64(1); c < uint64(ShardWidth-1); c += 10000 {
|
||||
for c := uint64(1); c < uint64(ShardWidth-1); c += (ShardWidth >> 5) {
|
||||
if _, err := f.setBit(r, c); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue