mdeuser commented on a change in pull request #2326: (Review) Alphabetize
URL:
https://github.com/apache/incubator-openwhisk/pull/2326#discussion_r125672233
##########
File path: tests/src/test/scala/apigw/healthtests/ApiGwEndToEndTests.scala
##########
@@ -142,6 +142,72 @@ class ApiGwEndToEndTests
}
}
+ it should "list api-experimental alphabetically by Base/Rel/Verb and
Action name" in withAssetCleaner(wskprops) {
+ (wp, assetHelper) =>
+
+ val actionName1 = "actionName1"
+ val actionName2 = "actionName2"
+ val actionName3 = "actionName3"
+ val base1 = "/BaseTestPath1"
+ val base2 = "/BaseTestPath2"
+ val base3 = "/BaseTestPath3"
+
+ try {
+ // Create Actions for apiexperimentals
+ val file = TestUtils.getTestActionFilename(s"echo-web-http.js")
+ assetHelper.withCleaner(wsk.action, actionName1) {
Review comment:
As mentioned in other comments, this can be handled inside a loop to avoid
having copied code.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services