summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Miller <marco.miller@ericsson.com>2020-09-21 15:55:16 -0400
committerMarco Miller <marco.mmiller@gmail.com>2020-09-22 17:32:26 +0000
commita2b6084537f85751a3298faf82bf2ab1be3b95ab (patch)
treef1b8b10ec3c0ff829ef701f400081587331c1331
parent40673fe66c47200ad01b8ad5c55142d9be1aba4c (diff)
GerritSimulation: Rename 'pack' to packageName for clarity
-rw-r--r--e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala6
1 files changed, 3 insertions, 3 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 6118460476..cfae0e9f4a 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
@@ -23,8 +23,8 @@ import io.gatling.http.request.builder.HttpRequestBuilder
class GerritSimulation extends Simulation {
implicit val conf: GatlingGitConfiguration = GatlingGitConfiguration()
- private val pack = getClass.getPackage.getName
- private val path = pack.replaceAllLiterally(".", "/")
+ private val packageName = getClass.getPackage.getName
+ private val path = packageName.replaceAllLiterally(".", "/")
protected val name: String = getClass.getSimpleName
private val pathName = s"data/$path/$name"
protected val resource = s"$pathName.json"
@@ -87,7 +87,7 @@ class GerritSimulation extends Simulation {
}
protected def replaceProperty(term: String, default: Any, in: String): String = {
- val property = pack + "." + term
+ val property = packageName + "." + term
var value = default
default match {
case _: String | _: Double =>