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/08/04 01:38:00 UTC

[GitHub] style95 commented on a change in pull request #3671: Activation id in header

style95 commented on a change in pull request #3671: Activation id in header
URL: https://github.com/apache/incubator-openwhisk/pull/3671#discussion_r207696273
 
 

 ##########
 File path: tests/src/test/scala/whisk/core/controller/test/WebActionsApiTests.scala
 ##########
 @@ -932,7 +934,10 @@ trait WebActionsApiBaseTests extends ControllerTestCommon with BeforeAndAfterEac
 
             m(s"$testRoutePath/$path") ~> Route.seal(routes(creds)) ~> check {
               status should be(statusCode)
-              headers shouldBe List(RawHeader("Set-Cookie", "a=b"))
+              headers.exists(header => {
+                header.is("set-cookie") && header.value() == "a=b"
+              }) shouldBe true
+              headers.exists(_.is(ActivationIdHeaderInLowercase)) shouldBe true
 
 Review comment:
   got it

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