fixes integration test call on jenkins

This commit is contained in:
Spencer Alger
2014-01-16 09:58:37 -07:00
parent baf348e4bf
commit b5105229d3
2 changed files with 4 additions and 3 deletions

View File

@ -89,9 +89,9 @@ if [[ "$NODE_INTEGRATION" != "0" ]]; then
ES_PORT=9200
fi
./node_modules/.bin/mocha test/integration/yaml_suite/index${BRANCH_SUFFIX}.js
--host localhost
--port $ES_PORT
./node_modules/.bin/mocha test/integration/yaml_suite/index${BRANCH_SUFFIX}.js \
--host localhost \
--port $ES_PORT \
--reporter ../../../test/utils/jenkins-reporter.js
2> test/junit-node-integration.xml
if [ "$?" -gt "0" ]; then

View File

@ -1,3 +1,4 @@
require('poop');
describe('Client instances creation', function () {
var es = require('../../src/elasticsearch');
var api = require('../../src/lib/api');