From 5adbc7fae3c2d8f4b06cc3c900d4335fb6bda473 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 7 Jun 2017 16:54:42 -0700 Subject: [PATCH] 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. --- lnwire/lnwire_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnwire/lnwire_test.go b/lnwire/lnwire_test.go index 76e99ed1..5e958324 100644 --- a/lnwire/lnwire_test.go +++ b/lnwire/lnwire_test.go @@ -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{