You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/07/18 14:11:28 UTC
[GitHub] rabbah commented on a change in pull request #2491: (WIP) Limit length of HTTP body displayed when debugging.
rabbah commented on a change in pull request #2491: (WIP) Limit length of HTTP body displayed when debugging.
URL: https://github.com/apache/incubator-openwhisk/pull/2491#discussion_r127986292
##########
File path: tests/src/test/scala/whisk/core/limits/ActionLimitsTests.scala
##########
@@ -269,4 +269,29 @@ class ActionLimitsTests extends TestHelpers with WskTestHelpers {
}
}
+ it should "limit the length of HTTP req/resp bodies for debug messages to 1000 bytes" in withAssetCleaner(wskprops) {
+ (wp, assetHelper) =>
+ val auth: Seq[String] = Seq("--auth", wskprops.authKey)
+ val name = "largeFileAction"
+ val debugMsg = "Body excedes 1000 bytes and will be truncated"
Review comment:
so how would one check if the cli encoded a zip correctly? should debug continue to show the full content but not verbose? one or the other...
----------------------------------------------------------------
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