Commit Graph

592 Commits

Author SHA1 Message Date
Daniel García Aubert
6dba06130b Retur a proper error message when ogr2ogr command fails 2017-04-18 11:40:37 +02:00
Raul Ochoa
ea9454d87c Add test to validate old jobs will get discovered 2017-04-04 15:42:34 +02:00
Daniel García Aubert
25a291bb38 Improve waek assertion 2017-04-04 09:50:45 +02:00
Daniel García Aubert
36d5dc1719 Queue seeker refactor:
- Extract from job subcriber everything related to queue dicovering
 - Job Queue is responsible of queue dicovering and exposes functions to scan user queues.
 - Batch creates an interval to consume queues
 - Now Batch.start() does:
  * Finds existing queues from metadata, adding to queue index the ones that are not indexed yet
  * Binds callback to process jobs for every queue found.
  * Inits queue consumer interval
  * Subscribes to PUB/SUB channel
2017-04-03 19:26:21 +02:00
Daniel García Aubert
3a0bbc1ead Avoid use sleep function 2017-04-03 14:40:23 +02:00
Daniel García Aubert
dbdfe86171 Remove mocha hooks 2017-04-03 13:07:27 +02:00
Daniel García Aubert
e4e6207565 Add test 2017-04-03 12:59:23 +02:00
Daniel García Aubert
8012fe26aa Avoid scan behaviour to discover active queues of user's jobs, now keeps an index to know which queues are available 2017-03-31 14:30:33 +02:00
Raul Ochoa
d48a901533 Merge branch 'master' into node-v6 2017-01-12 19:49:56 +01:00
Javier Torres
1f318a5f31 Test to ensure gpkg export does not add FID 2017-01-11 19:07:50 +01:00
Raul Ochoa
738e580862 Revert "Old code for closing test server"
This reverts commit 02a053c71d.
2016-12-19 15:37:34 +01:00
Raul Ochoa
afcb25be76 Dont debug that much 2016-12-19 15:30:03 +01:00
Raul Ochoa
38c3c4b4b0 More debug 2016-12-19 15:29:52 +01:00
Raul Ochoa
e2c916f4ea Add debugging info in assert.response 2016-12-19 15:29:41 +01:00
Raul Ochoa
443990c3a9 Test all 2016-12-19 15:28:24 +01:00
Raul Ochoa
02a053c71d Old code for closing test server 2016-12-19 15:21:14 +01:00
Raul Ochoa
ba4499c196 Don't use extra function 2016-12-19 15:13:12 +01:00
Raul Ochoa
29e6c347d8 Test all 2016-12-19 14:31:39 +01:00
Raul Ochoa
f62ba29ac7 Dont debug that much 2016-12-19 14:31:25 +01:00
Raul Ochoa
59fba7c676 Only test regressions suite for travis debugging 2016-12-19 12:05:56 +01:00
Raul Ochoa
c0e51c4c1e Explicit callback 2016-12-19 11:11:40 +01:00
Raul Ochoa
7dc78e7c5a More debug 2016-12-19 11:11:31 +01:00
Raul Ochoa
6c8929079c Add debugging info in assert.response 2016-12-19 10:50:05 +01:00
Raul Ochoa
32aaccb33e Merge branch 'master' into node-v6 2016-12-16 15:24:26 +01:00
Daniel García Aubert
05cfdae7f8 Fix "after" hook in acceptance test to not throw uncaught exception 2016-12-13 17:21:57 +01:00
Daniel García Aubert
acafd84acf Reverts: fix backend crash to not throw an uncaught exception 2016-12-13 17:17:53 +01:00
Daniel García Aubert
ac65b8a68d Fix backend crash test behavior 2016-12-13 11:10:14 +01:00
Raul Ochoa
779bbc4ddb Drop if exists 2016-12-09 12:05:49 +01:00
Raul Ochoa
3747fed78f query-returning suite 2016-12-09 11:26:45 +01:00
Raul Ochoa
b85ad66288 app-configuration suite 2016-12-09 11:19:01 +01:00
Raul Ochoa
67ba027ad5 COPY statements suite 2016-12-09 11:10:08 +01:00
Raul Ochoa
a473389f0c Skipfields suite 2016-12-09 11:02:37 +01:00
Raul Ochoa
15df082486 System queries 2016-12-09 10:56:50 +01:00
Raul Ochoa
b9b58ccd1a Pagination suite 2016-12-09 10:56:44 +01:00
Raul Ochoa
7a666a8f57 Rename untitle_table_4 dependant objects 2016-12-09 10:28:51 +01:00
Daniel García Aubert
c65124fc37 Fix backend crash to not throw an uncaught exception 2016-12-07 16:16:03 +01:00
Joshua Chamberlain
a1427c26bf Respect host and port settings for postgres and redis config 2016-11-30 11:46:47 -05:00
Daniel García Aubert
b0f39d16ab Remove commented code 2016-11-24 17:39:14 +01:00
Daniel García Aubert
4d97f77e14 Remove console.log 2016-11-24 17:38:54 +01:00
Daniel García Aubert
2bc46ca034 Revert change 2016-11-24 17:28:59 +01:00
Daniel García Aubert
48469aaf0d Make some test less demanding 2016-11-24 16:53:15 +01:00
Daniel García Aubert
b2a6b319e4 Unskip test 2016-11-24 16:45:00 +01:00
Daniel García Aubert
99a8b794dc Dont use setInterval in work in progress test suite 2016-11-24 16:21:28 +01:00
Daniel García Aubert
9a63006719 Validate job response using the internal reference 2016-11-24 15:40:09 +01:00
Daniel García Aubert
14dabcafa2 Use batch-test-client for job timing suite 2016-11-24 14:37:03 +01:00
Daniel García Aubert
b54c9dce43 Use custom assert 2016-11-24 14:11:43 +01:00
Daniel García Aubert
a0eea98940 Implement custom assert for batch test client 2016-11-24 13:25:14 +01:00
Daniel García Aubert
04ba1279da Use test-client and batch-test-client for callback template suite 2016-11-24 13:10:29 +01:00
Daniel García Aubert
363a550633 Fix error message 2016-11-24 13:09:33 +01:00
Daniel García Aubert
ce51fb8860 Set tiemout for test client to 5s 2016-11-24 00:15:17 +01:00