c1f1f40194
set the 1.2 API to actually be used as the default
2014-05-22 08:26:58 -07:00
c793360d9c
updated mocha and angular.
2014-05-05 15:48:12 -07:00
dfca8f574f
fixed stupidly specific test
2014-05-02 09:52:11 -07:00
00fdc86315
stop failing the build because of overworked/slow es test servers
2014-04-25 14:45:24 -07:00
dcc4a3747f
Updated the API to the latest version and fixed an issue with the test runner,
...
which was confused by parameters that were in the URL, but not in the params list.
2014-04-15 08:30:42 -07:00
b1ee674613
fixed tests for host that were too specific to begin with
2014-04-01 18:23:05 -07:00
2eefd190a1
Fixes the sniffOnConnectionFault config parameter
2014-04-01 18:23:05 -07:00
af89a4917f
test fixes...
2014-03-28 16:11:00 -07:00
913edeb728
when there are timeouts left behind we should spit them out
2014-03-27 18:26:42 -07:00
30f2749464
use a server that we control to test socket destruction, rather than expecting the OS to kill requests that fail DNS
2014-03-27 15:02:56 -07:00
04fb8c6443
version 2.1.0
2014-03-27 13:59:40 -07:00
222598a235
added features parsing and lte/gte methods
2014-03-27 11:13:58 -07:00
6ca5453195
updated the keepalive test so that it uses IPC instead of output parsing.
2014-03-27 10:41:01 -07:00
4ab22a1a61
switched to bluebird for promise support
2014-03-27 09:49:21 -07:00
ffea4eb478
tests now look for the 1.0 API by default
2014-03-27 08:08:37 -07:00
bfa6c40157
Updated nodes_to_host callback
...
Now, it will properly ignore nodes without HTTP enabled, and nodes with addresses that don't match the pattern will not cause all hell to break loose but rather log an error message and cancel the sniff.
Also comes with minor updates to the API.
2014-03-18 11:45:59 -07:00
66a399d623
adjusted the 'do' action, so that it will replace $args within the body
2014-03-03 08:32:43 -07:00
6f467bc314
in certain environments (like saucelabs) we can not reliably receive a 0 status code, the error at all will have to be enough for now
2014-02-26 12:44:06 -07:00
f05bde519d
added simple helper for properly handling promises in my tests
2014-02-25 09:50:42 -07:00
f389ce7583
reworked the client action tests to ensure that params are not being clobbered in several places, and adjusted the new test to make sure that index is not duplicated in the query params
2014-02-17 10:47:48 -07:00
ed3274547e
do not mutate incoming params object
2014-02-17 17:06:44 +01:00
697c761b71
fixed the force closing of the forever agent, which was removing items from the same array it was itterating.
2014-02-17 01:11:53 -07:00
b19f7b7825
Fixed a broken test
2014-02-14 16:29:40 -07:00
76b69b7a9e
Use the transport's defer method within the client_action to ensure we use the configured promises everywhere. Allow search requests to be made without any arguments.
2014-02-14 16:03:04 -07:00
03f7a844a3
use lodash-node rather than vanilla lodash so that lodash doesn't attach to require js even when it's available.
2014-02-11 16:08:10 -07:00
77d934aa03
restore the clock before leaving the process to die
2014-02-10 13:57:14 -07:00
257d596207
attempting to diagnos random issues with the client.close() test
2014-02-10 13:49:02 -07:00
1dca382625
turns out 1 second might not be enough
2014-02-07 14:00:05 -07:00
a09c6268a2
on node 0.8 cp.fork does not let the process die when the event loop is empty
2014-02-07 13:39:01 -07:00
327f191056
fixed and added a test for keepalive connection pool forced shutdown
2014-02-06 22:30:29 -07:00
9d1f6067f5
unit tests for the forever-agent change
2014-02-06 14:34:12 -07:00
d5c1d1405c
client.ping() requests now set the proper requestTimeout default
2014-02-06 08:48:35 -07:00
7b795fc1a0
removed the requireRoot stuff form the unit tests which need to have vanilla require calls when bundled with browserify
2014-02-05 10:14:59 -07:00
70b51dfa6d
stopped using an empty suffix for test/branch stuff, so that things are less confusing down the road when versions change
2014-02-05 09:46:53 -07:00
6c5838fbfa
Added API generation and Yaml testing for 1.x and 1.0 branches of elasticsearch.
2014-02-05 08:18:19 -07:00
5ff4b6f855
moved away from submodules
2014-02-04 11:24:37 -07:00
f7f98572a3
updated grunt-run, tests now support skip.features and match:/regex/
2014-02-03 09:55:45 -07:00
c813307137
remove unused test file
2014-01-30 10:53:18 -07:00
f10052f19e
fixed the browser test
2014-01-29 11:31:42 -07:00
513486f372
updated loggers to write the actual url
2014-01-28 16:45:39 -07:00
1d991b47a8
updated mocha-cov dependency to be custom fork that provides valuable information to coveralls, added engine info to package.json, disable styles for codeship, switched to code based pattern that is very specific since the entire es-js repo is stored withing a src directory on codeship
2014-01-22 12:08:22 -07:00
bacd515545
Run all of the browser tests at once, since parallel builds no longer benefit us at codeship and this will probably make things run even faster
2014-01-17 18:51:21 -07:00
90aa185711
added notes to the API docs regarding the two API versions, and a warning to the config docs. Also updated the client tests to work with the new default
2014-01-17 15:50:06 -07:00
babc7bacea
removed pending test to fix saucelabs failures --skip-ci
2014-01-17 15:37:18 -07:00
af57b9e49e
Changed default port for testing es to 9400
2014-01-17 10:56:53 -07:00
3d8117ba3e
removed the previous browser_yaml_suite, and fixed the 'returns a client' tests
2014-01-17 09:45:39 -07:00
55f3b33dbd
Merge pull request #30 from spenceralger/ping_1_0
...
Stopped overriding the ping method provided by the 1.0 API
2014-01-16 14:45:22 -08:00
b36a6590e8
Stopped overriding the ping method provided by the 1.0 API, but it didn't match the "castExists" regex so...
...
Fixed the lack of castExists for ping/1.0 by removing castExists all together from the API. It was the
case anyway that all HEAD requests needed to be cast, so now the clientAction module will set that
param when the spec is set to make HEAD requests. The transport.request still expects that parameter.
Switched the apiVersion implementation to use funcEnum, and exposed the options on the Client constructor.
Docs to come.
2014-01-16 15:43:33 -07:00
ab033e9698
added the ability to set a host's host to false, causing the urls it creates to be relative
2014-01-16 14:19:11 -07:00
980163dfb2
switched submodule back to elasticsearch/elasticsearch, updated the generator to properly pull updates from the related branch
2014-01-16 11:58:35 -07:00