Merge "GerritSimulation: Allow scenarios to further customize waits" into stable-2.16

This commit is contained in:
David Pursehouse
2020-05-22 11:49:36 +00:00
committed by Gerrit Code Review

View File

@@ -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