We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1638598 commit 6fd5fb1Copy full SHA for 6fd5fb1
graphx/src/test/scala/org/apache/spark/graphx/util/GraphGeneratorsSuite.scala
@@ -64,8 +64,11 @@ class GraphGeneratorsSuite extends FunSuite with LocalSparkContext {
64
val sigma = 1.3
65
val maxVal = 100
66
67
- val dstId = GraphGenerators.sampleLogNormal(mu, sigma, maxVal)
68
- assert(dstId < maxVal)
+ val trials = 1000
+ for (i <- 1 to trials) {
69
+ val dstId = GraphGenerators.sampleLogNormal(mu, sigma, maxVal)
70
+ assert(dstId < maxVal)
71
+ }
72
73
val dstId_round1 = GraphGenerators.sampleLogNormal(mu, sigma, maxVal, 12345)
74
val dstId_round2 = GraphGenerators.sampleLogNormal(mu, sigma, maxVal, 12345)
0 commit comments