Fixed the integration tests, set the default method for indices.putTemplate and indices.putMapping to PUT

This commit is contained in:
Spencer Alger
2013-11-25 14:14:00 -07:00
parent 8baa3d6601
commit 477f1aff84
13 changed files with 70 additions and 29 deletions

View File

@ -6,8 +6,8 @@ if (process.browser) {
}
var argv = require('./argv');
var server = require('./server');
var path = require('path');
var fs = require('fs');
// var path = require('path');
// var fs = require('fs');
var _ = require('../../../src/lib/utils');
// current client
@ -38,7 +38,7 @@ module.exports = {
doCreateClient(function () {
client.ping(function (err) {
if (err instanceof es.errors.ConnectionFault) {
externalExists = !err;
externalExists = false;
create(done);
} else {
done(err);