support running integration tests against a specific version

This commit is contained in:
Spencer Alger
2015-01-10 13:50:59 -07:00
parent f76246aad0
commit b182141d07
2 changed files with 11 additions and 3 deletions

View File

@ -23,7 +23,7 @@ var client = null;
var externalExists;
module.exports = {
create: function create(branch, cb) {
create: function create(apiVersion, cb) {
// create a client and ping the server for up to 15 seconds
doCreateClient({
logConfig: null
@ -89,7 +89,7 @@ module.exports = {
}
client = new es.Client({
apiVersion: branch,
apiVersion: apiVersion,
hosts: [
{
host: argv.host,