Commit 78c071d0 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 74fb6247
......@@ -229,6 +229,7 @@ func TestΔFtailRandom(t *testing.T) {
// XXX
n := xbtreetest.N(1E3, 1E4, 1E5)
nblk := xbtreetest.N(1E1, 1E2, 1E3) // keeps failures detail small on -short
// random-number generator
rng, seed := xbtreetest.NewRand()
......@@ -244,13 +245,13 @@ func TestΔFtailRandom(t *testing.T) {
go func() {
defer close(testq)
for i := 0; i < n; i++ {
nδblkTab := rng.Intn(10) // XXX -> to maxBlk ?
nδblkTab := rng.Intn(nblk)
nδdataTab := rng.Intn(len(vv))
δblkTab := map[int64]string{}
δdataTab := setStr{}
blkv := rng.Perm(100) // XXX = maxBlk ?
blkv := rng.Perm(nblk)
for j := 0; j < nδblkTab; j++ {
blk := blkv[j]
zblk := randv()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment