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/06/04 12:34:35 UTC

[GitHub] mdeuser commented on a change in pull request #311: Display appropriate message for trigger fire when 204 is returned

mdeuser commented on a change in pull request #311: Display appropriate message for trigger fire when 204 is returned
URL: https://github.com/apache/incubator-openwhisk-cli/pull/311#discussion_r192722828
 
 

 ##########
 File path: tests/src/test/scala/system/basic/WskCliBasicTests.scala
 ##########
 @@ -744,6 +744,20 @@ class WskCliBasicTests extends TestHelpers with WskTestHelpers {
       }
   }
 
+  it should "display proper error when trigger is not associated with active rule" in withAssetCleaner(wskprops) {
+    val triggerName = withTimestamp("noRuleTrigger")
+
+    (wp, assetHelper) =>
+      assetHelper.withCleaner(wsk.trigger, triggerName) { (trigger, _) =>
+        trigger.create(triggerName)
+      }
+
+      val rr = wsk.trigger.fire(triggerName)
+      val ns = wsk.namespace.whois()
 
 Review comment:
   not used?

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