diff options
author | David Pursehouse <dpursehouse@digital.ai> | 2020-05-22 11:49:36 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-05-22 11:49:36 +0000 |
commit | 2228172c8527ab9ba5806eeb974cf482222e371d (patch) | |
tree | 8f6c5acf2b55d7c7ebe3ebb9d2561fa2ad5ee025 | |
parent | 501e2dee2702fbd5dd82d70818164499a02d8090 (diff) | |
parent | 15182b040a43b33dfe34fc2b787b5d192f59c302 (diff) |
Merge "GerritSimulation: Allow scenarios to further customize waits" into stable-2.16
-rw-r--r-- | e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala | 2 |
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 |