|
|
a5f1d77f23
|
remove unused var in test
|
2016-06-27 14:45:31 -07:00 |
|
|
|
866f5948af
|
100 percent coverage on create_index helper
|
2016-06-27 14:23:49 -07:00 |
|
|
|
eae6942ec2
|
add tests for true/false and emits on errors
|
2016-06-27 14:14:23 -07:00 |
|
|
|
eeafaf7d42
|
add test for assign headers
|
2016-06-06 17:22:36 -07:00 |
|
|
|
9e3515ebd5
|
restructure the jobs tests
|
2016-06-06 17:12:09 -07:00 |
|
|
|
5fe4e644d6
|
add custom client test
|
2016-06-06 14:58:54 -07:00 |
|
|
|
39315dddd0
|
add internal properties test
|
2016-06-06 14:58:48 -07:00 |
|
|
|
e0605796a1
|
fix inconcistent constants use
|
2016-06-06 14:50:06 -07:00 |
|
|
|
a1a7b9e213
|
add tests for passing client on job create
also fix issue where the wrong client was being used to create the index
|
2016-06-06 14:48:01 -07:00 |
|
|
|
9ab3bb048e
|
update tests and fixture
|
2016-05-19 14:12:01 -07:00 |
|
|
|
59d30bbb0f
|
remove console debugging
|
2016-05-19 14:10:03 -07:00 |
|
|
|
89c08068dd
|
use filter instead of must in query
faster, and the score does not matter here
|
2016-05-17 13:37:22 -07:00 |
|
|
|
4472e725fa
|
add tests for optional fields to get and toJSON methods
|
2016-05-16 15:04:35 -07:00 |
|
|
|
be1eb81059
|
make the mock client get method async
and update worker tests to use async value
|
2016-05-16 15:03:20 -07:00 |
|
|
|
8d21dc6967
|
add optional created_by record to the doc
|
2016-05-16 15:02:34 -07:00 |
|
|
|
9aa8eed297
|
filter output when searching for jobs
|
2016-05-16 14:09:24 -07:00 |
|
|
|
300449bfb0
|
add test for missing index result
|
2016-05-13 14:59:05 -07:00 |
|
|
|
dae14e0edc
|
add tests for job search failures
|
2016-05-13 14:36:19 -07:00 |
|
|
|
234b829adf
|
add more tests around job query
|
2016-05-12 15:09:53 -07:00 |
|
|
|
609e81fdef
|
distiguish the doctype from the jobtype
update tests and mock elasticsearch client
|
2016-05-12 12:20:49 -07:00 |
|
|
|
0020050f3f
|
use contants for defaults, use a common doctype
add tests, update readme
|
2016-05-12 11:48:54 -07:00 |
|
|
|
fa784393e5
|
add test for process_expiration value
|
2016-05-11 11:04:23 -07:00 |
|
|
|
a4323433f2
|
remove use of var
|
2016-05-11 10:58:21 -07:00 |
|
|
|
48f34a8bc8
|
update tests with sync or promise workers
|
2016-05-04 11:42:06 -07:00 |
|
|
|
5efccc4435
|
rename project to esqueue
|
2016-05-03 16:30:54 -07:00 |
|
|
|
9ef3fb8cec
|
proper async promise tests, add tests for worker timeouts
also fix intermittent issue with complete_at time check
|
2016-05-03 11:38:17 -07:00 |
|
|
|
f722bbf5e1
|
only use fake clocks in tests were required
|
2016-05-03 11:36:55 -07:00 |
|
|
|
552abb7ddd
|
add tests for the output formatting
|
2016-05-03 09:58:39 -07:00 |
|
|
|
d582989e35
|
simplify job error tests
|
2016-05-03 09:48:15 -07:00 |
|
|
|
60d486b804
|
add check for failed status and complete time
|
2016-05-02 14:31:14 -07:00 |
|
|
|
a143092e64
|
add completed time and status to failed jobs
with tests
|
2016-05-02 12:59:23 -07:00 |
|
|
|
b12aa87ad3
|
add completed_at time, add update tests
|
2016-05-02 12:57:11 -07:00 |
|
|
|
7191a2bed0
|
add tests for handling job failures
|
2016-05-02 12:45:46 -07:00 |
|
|
|
f35756f70b
|
initial perform job tests
|
2016-04-29 17:57:14 -07:00 |
|
|
|
b2781a6ccf
|
client.get: mix in source data, fix default index and type params
|
2016-04-29 17:52:24 -07:00 |
|
|
|
72389b65b2
|
add checks for version conflicts
|
2016-04-29 17:25:44 -07:00 |
|
|
|
d00d12683b
|
add fail job tests
|
2016-04-29 17:15:39 -07:00 |
|
|
|
683903512b
|
fix mock defaults
|
2016-04-29 16:52:35 -07:00 |
|
|
|
a0970f8ba7
|
add more worker tests
|
2016-04-29 16:44:46 -07:00 |
|
|
|
1954141345
|
mock es client search and update
|
2016-04-28 16:14:39 -07:00 |
|
|
|
f1dc6e60dc
|
make workers private, add getter, add destroy test
|
2016-04-25 17:00:37 -07:00 |
|
|
|
eb033d9676
|
queue should track and tear down workers, with tests
|
2016-04-25 16:36:21 -07:00 |
|
|
|
482ea68692
|
add mock client to worker tests
|
2016-04-25 16:32:58 -07:00 |
|
|
|
b0f2264ab8
|
add search method to elasticsearch mock
|
2016-04-25 16:32:38 -07:00 |
|
|
|
5c4340adfc
|
start on the worker logic
|
2016-04-25 16:28:30 -07:00 |
|
|
|
662d8a177c
|
assign job ids internally, update tests
useful for making toJSON fully sync and work without the elasticsearch document
|
2016-04-25 15:28:12 -07:00 |
|
|
|
58a0cf328f
|
update toJSON, add tests, remove unused var
|
2016-04-25 15:16:00 -07:00 |
|
|
|
4d5b08c3c7
|
add test for get method
|
2016-04-25 14:44:19 -07:00 |
|
|
|
576f26a4b9
|
allow id to be passed to mock elasticsearch index
|
2016-04-25 14:43:53 -07:00 |
|
|
|
a4bfd5184d
|
add get method to Client, add errors to mock
|
2016-04-25 14:19:48 -07:00 |
|