commit | 75c111aafccfe0260147cf25542afadababd9a69 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Wed Jul 15 15:24:33 2020 -0400 |
committer | Marco Miller <marco.miller@ericsson.com> | Wed Jul 15 15:24:33 2020 -0400 |
tree | 41ae595ecbcb737a436c8d51f40ba970f28519d6 | |
parent | df9ddf38208668d4f466669e029d7e462c542a8a [diff] |
e2e-tests: Replace hardcoded scheme with property Replace the previously hardcoded scheme for http requests with the new http_scheme property. The core framework documentation [1] now includes how it can be used to (e.g.) switch test scenarios from http to https. [1] https://gerrit-review.googlesource.com/c/gerrit/+/275453/1/Documentation/dev-e2e-tests.txt Change-Id: I02a0f6459fa9f8b311f9035b2673732382c33ffa
diff --git a/src/test/resources/com/ericsson/gerrit/plugins/gcconductor/scenarios/CheckProjectStatisticsUpToGc.json b/src/test/resources/com/ericsson/gerrit/plugins/gcconductor/scenarios/CheckProjectStatisticsUpToGc.json index e9df002..349c5b1 100644 --- a/src/test/resources/com/ericsson/gerrit/plugins/gcconductor/scenarios/CheckProjectStatisticsUpToGc.json +++ b/src/test/resources/com/ericsson/gerrit/plugins/gcconductor/scenarios/CheckProjectStatisticsUpToGc.json
@@ -1,5 +1,5 @@ [ { - "url": "http://HOSTNAME:HTTP_PORT/a/projects/PROJECT/statistics.git" + "url": "HTTP_SCHEME://HOSTNAME:HTTP_PORT/a/projects/PROJECT/statistics.git" } ]
diff --git a/src/test/resources/com/ericsson/gerrit/plugins/gcconductor/scenarios/CreateChangesTriggeringGc.json b/src/test/resources/com/ericsson/gerrit/plugins/gcconductor/scenarios/CreateChangesTriggeringGc.json index b4ee549..70e79ca 100644 --- a/src/test/resources/com/ericsson/gerrit/plugins/gcconductor/scenarios/CreateChangesTriggeringGc.json +++ b/src/test/resources/com/ericsson/gerrit/plugins/gcconductor/scenarios/CreateChangesTriggeringGc.json
@@ -1,6 +1,6 @@ [ { - "url": "http://HOSTNAME:HTTP_PORT/a/changes/", + "url": "HTTP_SCHEME://HOSTNAME:HTTP_PORT/a/changes/", "project": "PROJECT" } ]
diff --git a/src/test/resources/com/ericsson/gerrit/plugins/gcconductor/scenarios/DeleteChangesAfterGc.json b/src/test/resources/com/ericsson/gerrit/plugins/gcconductor/scenarios/DeleteChangesAfterGc.json index a371757..301c65b 100644 --- a/src/test/resources/com/ericsson/gerrit/plugins/gcconductor/scenarios/DeleteChangesAfterGc.json +++ b/src/test/resources/com/ericsson/gerrit/plugins/gcconductor/scenarios/DeleteChangesAfterGc.json
@@ -1,5 +1,5 @@ [ { - "url": "http://HOSTNAME:HTTP_PORT/a/changes/" + "url": "HTTP_SCHEME://HOSTNAME:HTTP_PORT/a/changes/" } ]