Remove RNG upper bound like in Grinder test to avoid race condition in application under test

This commit is contained in:
Stephane Landelle
2020-10-12 18:51:09 +02:00
parent 46b7a4f0ad
commit e7fda382ca

View File

@@ -7,7 +7,7 @@ import scala.concurrent.duration._
class RewardsScenario extends Simulation {
def randCustId() = java.util.concurrent.ThreadLocalRandom.current().nextInt(1, 10000)
def randCustId() = java.util.concurrent.ThreadLocalRandom.current().nextInt()
val httpProtocol = http.baseUrl("http://localhost:8080")