summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Miller <marco.miller@ericsson.com>2020-05-22 14:24:02 -0400
committerMarco Miller <marco.miller@ericsson.com>2020-05-22 14:24:02 -0400
commit3cb8b13e7e966a8addb1685de51ac62567b2700e (patch)
treed5b201a97d2e8d33e9f9d0d49e90c4c02a51c1e8
parent1924429be1ea7ae56b9b5d17ff0061b2473435ca (diff)
parent2228172c8527ab9ba5806eeb974cf482222e371d (diff)
Merge branch 'stable-2.16' into stable-3.0
* stable-2.16: GerritSimulation: Allow scenarios to further customize waits Change-Id: I0abc8cc3c83f33f06f0a5d416704f8d0b91a65fd
-rw-r--r--e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala b/e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala
index fb79f80a55..b427c0d036 100644
--- a/e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala
+++ b/e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala
@@ -32,7 +32,7 @@ class GerritSimulation extends Simulation {
protected val unique: String = name + "-" + this.hashCode()
private val powerFactor: Double = replaceProperty("power_factor", 1.0).toDouble
- private val SecondsPerWeightUnit: Int = 2
+ protected val SecondsPerWeightUnit: Int = 2
val maxExecutionTime: Int = (SecondsPerWeightUnit * relativeRuntimeWeight * powerFactor).toInt
private var cumulativeWaitTime: Int = 0