Permalink
Browse files

Add failure scenario.

  • Loading branch information...
1 parent 66675bb commit 04a4662fd74e01c466ad23baee5e1bf42da77b2b @cliffano committed Nov 8, 2013
Showing with 4 additions and 12 deletions.
  1. +0 −12 test-integration/commands.yml
  2. +4 −0 test-integration/failure.yml
@@ -1,12 +0,0 @@
-- description: Command help should display help information
- command: ../../../../../bin/nestor --help
- exitcode: 0
- output: 'Usage: nestor'
-
-- description: Command dashboard should display status of all jobs
- command: JENKINS_URL=http://ci.jenkins-ci.org ../../../../../bin/nestor dashboard
- exitcode: 0
-
-- description: Command dashboard should display status of all jobs
- command: ../../../../../bin/nestor dashboard --url http://ci.jenkins-ci.org
- exitcode: 0
@@ -0,0 +1,4 @@
+- description: Command dashboard should display error when URL does not exist
+ command: JENKINS_URL=http://someinexistinghost ../../../../../bin/nestor dashboard
+ exitcode: 0
+ output: getaddrinfo ENOTFOUND

0 comments on commit 04a4662

Please sign in to comment.