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_r132814208
 
 

 ##########
 File path: 
tests/src/test/scala/whisk/core/controller/test/WebActionsApiTests.scala
 ##########
 @@ -932,17 +940,17 @@ trait WebActionsApiTests extends ControllerTestCommon 
with BeforeAndAfterEach wi
                     val largeEntity = "a" * (allowedActivationEntitySize.toInt 
+ 1)
 
                     val content = s"""{"a":"$largeEntity"}"""
-                    Post(s"$testRoutePath/$path", 
content.parseJson.asJsObject) ~> sealRoute(routes(creds)) ~> check {
+                    Post(s"$testRoutePath/$path", 
content.parseJson.asJsObject) ~> Route.seal(routes(creds)) ~> check {
                         status should be(RequestEntityTooLarge)
                         val expectedErrorMsg = Messages.entityTooBig(SizeError(
                             fieldDescriptionForSizeError,
-                            (largeEntity.length + 13).B,
+                            (largeEntity.length + 8).B,
 
 Review comment:
   +5B again - guessing quotes are the difference.
 
----------------------------------------------------------------
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