lnwire: reduce range of randomly generated features in testing.Quick case

This commit reduces the range of the number of randomly generated
features in order to speed up the run time of the integration tests a
bit.
This commit is contained in:
Olaoluwa Osuntokun 2017-06-07 16:54:42 -07:00
parent 424ccccc2f
commit 5adbc7fae3
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

View File

@ -51,7 +51,7 @@ func randPubKey() (*btcec.PublicKey, error) {
}
func randFeatureVector(r *rand.Rand) *FeatureVector {
numFeatures := r.Int31n(131123)
numFeatures := r.Int31n(10000)
features := make([]Feature, numFeatures)
for i := int32(0); i < numFeatures; i++ {
features[i] = Feature{