commit | 9d686b75bd54ee59f62f16acfa15fe7ccdeadddf | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Mon Sep 21 17:29:49 2020 -0400 |
committer | Marco Miller <marco.mmiller@gmail.com> | Tue Sep 22 17:36:11 2020 +0000 |
tree | 97bf2b02eee81579efd30790e35b6c43b7156999 | |
parent | 6f06ae3c3e0ac08f7710cd27dccc4458c2c55237 [diff] |
e2e-tests: Rename 'unique' after GerritSimulation core change I229976f5 Change-Id: I132b13dbb0f8b97560e08687f7d44a6bb7475627
diff --git a/src/test/scala/com/ericsson/gerrit/plugins/gcconductor/scenarios/CheckProjectStatisticsUpToGc.scala b/src/test/scala/com/ericsson/gerrit/plugins/gcconductor/scenarios/CheckProjectStatisticsUpToGc.scala index 2487a85..5c6fe09 100644 --- a/src/test/scala/com/ericsson/gerrit/plugins/gcconductor/scenarios/CheckProjectStatisticsUpToGc.scala +++ b/src/test/scala/com/ericsson/gerrit/plugins/gcconductor/scenarios/CheckProjectStatisticsUpToGc.scala
@@ -34,9 +34,9 @@ this.default = default } - val test: ScenarioBuilder = scenario(unique) + val test: ScenarioBuilder = scenario(uniqueName) .feed(data) - .exec(http(unique).get("${url}") + .exec(http(uniqueName).get("${url}") .check(regex("\"number_of_loose_objects\": (\\d+),") .is("0")))
diff --git a/src/test/scala/com/ericsson/gerrit/plugins/gcconductor/scenarios/CreateChangesTriggeringGc.scala b/src/test/scala/com/ericsson/gerrit/plugins/gcconductor/scenarios/CreateChangesTriggeringGc.scala index 014e17f..98e6c4f 100644 --- a/src/test/scala/com/ericsson/gerrit/plugins/gcconductor/scenarios/CreateChangesTriggeringGc.scala +++ b/src/test/scala/com/ericsson/gerrit/plugins/gcconductor/scenarios/CreateChangesTriggeringGc.scala
@@ -46,7 +46,7 @@ this.deleteChanges = deleteChanges } - val test: ScenarioBuilder = scenario(unique) + val test: ScenarioBuilder = scenario(uniqueName) .feed(data) .exec(httpRequest .body(ElFileBody(body)).asJson
diff --git a/src/test/scala/com/ericsson/gerrit/plugins/gcconductor/scenarios/DeleteChangesAfterGc.scala b/src/test/scala/com/ericsson/gerrit/plugins/gcconductor/scenarios/DeleteChangesAfterGc.scala index d72f635..4775551 100644 --- a/src/test/scala/com/ericsson/gerrit/plugins/gcconductor/scenarios/DeleteChangesAfterGc.scala +++ b/src/test/scala/com/ericsson/gerrit/plugins/gcconductor/scenarios/DeleteChangesAfterGc.scala
@@ -31,12 +31,12 @@ override def relativeRuntimeWeight: Int = (secondsToDeleted + SecondsPerWeightUnit) / SecondsPerWeightUnit - val test: ScenarioBuilder = scenario(unique) + val test: ScenarioBuilder = scenario(uniqueName) .feed(data) .exec(session => { val numbered: Session = session.set(numberKey, upToNumber) upToNumber -= 1 numbered }) - .exec(http(unique).delete("${url}${" + numberKey + "}")) + .exec(http(uniqueName).delete("${url}${" + numberKey + "}")) }