mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-05-31 11:42:30 +00:00
test: use qconfig() instead of defaults in TestBucket_Put_Single
Default/nil quick.Config uses 1000 rounds, causing TestBucker_Put_Single to run for over 3 minutes in CI. The default count (via qconfig()) for boltdb is 5, so use that.
This commit is contained in:
parent
2ab139b399
commit
1038faf165
@ -1640,7 +1640,7 @@ func TestBucket_Put_Single(t *testing.T) {
|
||||
|
||||
index++
|
||||
return true
|
||||
}, nil); err != nil {
|
||||
}, qconfig()); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user