Skip to content

Commit

Permalink
Travis fail debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Kliment committed Dec 28, 2015
1 parent 6e24caf commit 295d012
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions test/fixtures/scripts/kill-self.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/bin/bash
sleep 0.1
echo "bask grep"
ps aux | grep "bash" | grep "kill-self.sh" | grep -v grep
echo "without bash grep"
ps aux | grep "kill-self.sh" | grep -v grep
ps aux | grep "bash" | grep "kill-self.sh" | grep -v grep | awk '{print $2}' | xargs kill -9
6 changes: 4 additions & 2 deletions test/integration/cli-test.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ describe "Command line interface", () ->
it 'should not execeute any transaction', () ->
assert.isFalse apiHit

describe 'and handler crashes before execution', () ->
describe.only 'and handler crashes before execution', () ->
apiHit = false

before (done) ->
Expand Down Expand Up @@ -333,7 +333,9 @@ describe "Command line interface", () ->
after () ->
syncExec "ps aux | grep test/fixtures/scripts/ | grep -v grep | awk '{print $2}' | xargs kill -9"

it 'should return with status 1', () ->
it.only 'should return with status 1', () ->
console.log stdout
console.log stderr
assert.equal exitStatus, 1

it 'should return message annoucing the fact', () ->
Expand Down

0 comments on commit 295d012

Please sign in to comment.