dubeejw commented on a change in pull request #17: Various fixes for swift 4 URL: https://github.com/apache/incubator-openwhisk-runtime-swift/pull/17#discussion_r165835822
########## File path: tests/src/test/scala/actionContainers/Swift4ActionContainerTests.scala ########## @@ -91,4 +91,21 @@ class Swift4ActionContainerTests extends SwiftActionContainerTests { }) } + it should "receive a large (1MB) argument" in { + withActionContainer() { c => + val code = """ + | func main(args: [String: Any]) -> [String: Any] { + | return args + | } + |""".stripMargin + + val (initCode, initRes) = c.init(initPayload(code)) + initCode should be(200) + + val arg = JsObject("arg" -> JsString(("a" * 198144))) Review comment: Hmm, double check that this is actually a MB. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services