Remove RNG upper bound like in Grinder test to avoid race condition in application under test
This commit is contained in:
parent
c608c133f6
commit
024da8003b
|
@ -7,7 +7,7 @@ import scala.concurrent.duration._
|
||||||
|
|
||||||
class RewardsScenario extends Simulation {
|
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")
|
val httpProtocol = http.baseUrl("http://localhost:8080")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue