Daniel García Aubert
a616982ec3
Use strict mode
2018-10-24 15:42:33 +02:00
Rafa de la Torre
942b0073d8
Please jshint
...
As suggested by jshint:
- Remove the unused `res` return value
- Add a semicolon at the end of the file
2018-07-30 12:36:16 +02:00
Rafa de la Torre
2afe845d78
More descriptive comment about the intent of the code
...
As suggested in review comment.
2018-07-30 12:34:29 +02:00
Rafa de la Torre
bf1d5bf3b4
Early return instead of if/else
...
As suggested in review comment.
2018-07-30 12:31:57 +02:00
Rafa de la Torre
7277143c27
Merge remote-tracking branch 'origin/master' into 521-test-robustness-pgbouncer
2018-07-25 15:07:55 +02:00
Rafa de la Torre
44858df713
Add a mock for DB quota functions
2018-07-23 15:29:53 +02:00
Rafa de la Torre
20d1db78dc
Helper to reset pgbouncer connections #521
...
This sends a PAUSE and RESUME to pgbouncer (in case there's one) before
and after executing tests, to make sure new connections are established
in the tests.
This may be especially important when role or session settings are
modified in the DB (same happens in prod, BTW).
2018-07-19 18:43:17 +02:00
Simon Martín
5b87defb97
remove unneeded test table copy_endpoints_test2
2018-06-20 15:09:37 +02:00
Simon Martín
1174499dcf
Merge branch 'master' into pgcopy-stream
2018-06-11 14:38:52 +02:00
Eneko Lakasta
03e484c5da
FIX tests. Create jobs should return 403 if auth fails
2018-06-05 15:49:15 +02:00
Simon Martín
791967877c
addining gzip support to copyfrom
2018-05-11 13:33:54 +02:00
Simon Martín
a2d0163ece
ensuring works with sql parameter in query string
2018-05-08 12:51:52 +02:00
Simon Martín
41a585d761
test of copyfrom
2018-05-03 18:32:39 +02:00
Simon Martín
7e71f8dc3b
supporting multipart requests
2018-05-03 18:32:15 +02:00
Simon Martín
bb929bf3dc
adding rediscell files for linux and mac
2018-03-27 12:14:28 +02:00
Daniel García Aubert
418ec1304f
Fix issue with auth fallback, it wasn't authenticated when apikey master was provided
2018-02-26 18:13:49 +01:00
Daniel García Aubert
bcf88093e9
Support basic-auth for batch api
2018-02-16 11:52:57 +01:00
Daniel García Aubert
2cadfe6f18
Add support for Basic Auth
2018-02-16 10:46:58 +01:00
Daniel García Aubert
ea6e8b5315
Implement fallback mechanism to be able to authenticate as usual in case of apikey is not found
2018-02-14 16:22:36 +01:00
Daniel García Aubert
974d219aad
Add test for batch api
2018-02-13 19:47:00 +01:00
Daniel García Aubert
7ba95d28cc
Add test to check regular api keys
2018-02-13 17:53:27 +01:00
Daniel García Aubert
5c7f5fbaa5
Merge branch 'master' into auth-api
2018-02-12 16:30:09 +01:00
Daniel García Aubert
d13dd9549e
Implemtent first acceptance test to check auth-api happy cases
2017-11-23 17:39:28 +01:00
Simon Martín
63238ddd89
fix EOF line and forgotten 'only'
2017-11-17 13:17:42 +01:00
Simon Martín
3a5c28cced
py_sleep postgres function
2017-11-17 13:09:37 +01:00
Daniel García Aubert
102a17c12b
Fix test
2017-09-20 16:17:33 +02:00
Daniel García Aubert
b774a0ff5c
Use method 'psql.end' exposed by 'cartodb-psql' instead of using the pg's one directly
2017-08-11 15:11:07 +02:00
Daniel García Aubert
fd39027c6c
Add TODOs
2017-08-09 18:56:51 +02:00
Daniel García Aubert
74b92bc782
Implement tests
2017-08-09 12:53:59 +02:00
Daniel García Aubert
ee9709199a
Expose method to configure user's
...
metadata
2017-08-09 12:51:21 +02:00
Daniel García Aubert
d7d2c73c3a
Add test to check that export api handles user timeout limit
2017-08-04 17:12:49 +02:00
Daniel García Aubert
8b6ec95108
Add test to check timeout error while exporting
2017-08-03 19:15:24 +02: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
7a666a8f57
Rename untitle_table_4 dependant objects
2016-12-09 10:28:51 +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
a0eea98940
Implement custom assert for batch test client
2016-11-24 13:25:14 +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
Daniel García Aubert
f7a41d3a0d
Try to cancel a job
2016-11-23 20:46:19 +01:00
Daniel García Aubert
5eca803fc8
Add support to get some specific job status
2016-11-23 19:20:44 +01:00
Daniel García Aubert
93a8fcc2f9
Make customizable timeout value for request
2016-11-23 12:30:16 +01:00
Daniel García Aubert
37b9eda6c3
Fix typo
2016-11-22 18:33:46 +01:00
Daniel García Aubert
23054034b4
Add mechanism to avoid infiniy request to check job status
2016-11-22 14:26:21 +01:00
Daniel García Aubert
172c9d91e8
Set request timeout to 4sec
2016-11-22 11:54:22 +01:00
Daniel García Aubert
d152aa7ec9
Set request timeout to 5sec
2016-11-22 11:41:35 +01:00
Daniel García Aubert
0f5a67833f
Set default timeout for assert response to 4 sec
2016-11-21 18:29:46 +01:00
Daniel García Aubert
4a64d37c6c
Add work in progrees list endpoint
2016-10-28 15:08:42 +02:00
Raul Ochoa
5030fddc9c
Allow to override test client
2016-10-19 16:56:43 +02:00