rabbah commented on a change in pull request #2218: Port Controller from Spray 
to Akka
URL: 
https://github.com/apache/incubator-openwhisk/pull/2218#discussion_r130367222
 
 

 ##########
 File path: 
tests/src/test/scala/whisk/core/controller/test/TriggersApiTests.scala
 ##########
 @@ -199,10 +203,10 @@ class TriggersApiTests extends ControllerTestCommon with 
WhiskTriggersApi {
         implicit val tid = transid()
         val code = "a" * (allowedActivationEntitySize.toInt + 1)
         val content = s"""{"a":"$code"}""".stripMargin
-        Post(s"$collectionPath/${aname}", content.parseJson.asJsObject) ~> 
sealRoute(routes(creds)) ~> check {
+        Post(s"$collectionPath/${aname}", content.parseJson.asJsObject) ~> 
Route.seal(routes(creds)) ~> check {
             status should be(RequestEntityTooLarge)
             responseAs[String] should include {
-                Messages.entityTooBig(SizeError(fieldDescriptionForSizeError, 
(content.length + 5).B, allowedActivationEntitySize.B))
+                Messages.entityTooBig(SizeError(fieldDescriptionForSizeError, 
(content.length).B, allowedActivationEntitySize.B))
 
 Review comment:
   what made the difference here?
 
----------------------------------------------------------------
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

Reply via email to