Skip to content

Commit

Permalink
Test: run regression test for artilleryio#215
Browse files Browse the repository at this point in the history
  • Loading branch information
hassy committed Dec 8, 2016
1 parent af360bc commit 2a35b0d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
echo "starting target"
node ./test/target.js &
target_pid=$!
node ./test/gh_215_target.js &
target2_pid=$!

echo "running tests"
echo
Expand All @@ -12,5 +14,6 @@ status=$?

echo "done"
kill $target_pid
kill $target2_pid

exit $status
6 changes: 6 additions & 0 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,9 @@
sleep 4
[[ -z $(pgrep -lfa node | grep worker) ]]
}

# Ref: https://github.com/shoreditch-ops/artillery/issues/215
@test "GH #215 regression" {
./bin/artillery run test/scripts/gh_215_add_token.json
[[ true ]]
}

0 comments on commit 2a35b0d

Please sign in to comment.