You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/02/04 07:43:20 UTC

[GitHub] csantanapr commented on a change in pull request #17: Various fixes for swift 4

csantanapr 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_r165836114
 
 

 ##########
 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:
   humm checking...

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services