Simon Martín
84af567577
run with local files insterad of download and by OS
2018-03-27 12:23:29 +02:00
Simon Martín
d3959bd024
change redis cell file path
2018-03-15 12:10:23 +01:00
Simon Martín
a5ddb83b36
using curl instead of wget
2018-03-15 11:54:02 +01:00
Simon Martín
62414ec34e
download redis-cell lib during tests
2018-03-15 11:42:13 +01:00
Simon Martín
4ca34cad95
removing logs
2018-03-13 12:01:51 +01:00
Simon Martín
4c7afd4aeb
installing libc6
2018-03-13 09:54:32 +01:00
Simon Martín
41db3050a7
removing precompiling rediscell, compiling on the fly
2018-03-12 20:30:54 +01:00
Simon Martín
a85aefb80c
show error log
2018-03-12 19:56:55 +01:00
Simon Martín
121d96a824
list directory
2018-03-12 19:48:37 +01:00
Simon Martín
24465270b9
redis info before run
2018-03-12 19:38:55 +01:00
Simon Martín
5c97777c4a
redis-cell path
2018-03-12 11:22:56 +01:00
Simon Martín
cdfeee7247
redis-cell compiled on the fly and saved to tmp folder
2018-03-05 18:23:23 +01:00
Simon Martín
488ceac73d
check current path
2018-03-05 16:17:49 +01:00
Simon Martín
32f35e9d45
redis-cell path
2018-03-05 16:01:27 +01:00
Simon Martín
755cc6cf4a
adding new version of cartodb-redis
2018-03-03 15:01:27 +01:00
Simon Martín
e613708752
changing redis-cell library path reference
2018-03-02 21:00:38 +01:00
Simon Martín
41875c6281
fix path of redis-cell on tests
2018-03-02 13:16:04 +01:00
Raul Ochoa
b510a3684d
Add option to skip script downloading
2016-10-14 12:28:43 +02:00
Alejandro Martínez
5e06711b4b
Use node-cartodb-querytables library
2016-02-22 12:24:05 +01:00
Raul Ochoa
c096d843a2
Adds coverage tool
2016-01-22 12:18:20 +01:00
Raul Ochoa
742904c6e6
Adds debug info about $PGUSER var
2014-09-24 11:05:16 +02:00
Raul Ochoa
32889ca41f
debug env vars for ci environment
2014-09-24 10:48:36 +02:00
Raul Ochoa
a6ffd7d257
Defaults to PGUSER=postgres if env var does not exist
2014-09-24 10:39:34 +02:00
Sandro Santilli
51b135c0ac
Set default PostgreSQL application name to "cartodb_sqlapi"
2014-05-07 16:14:17 +02:00
Sandro Santilli
b736c228cf
Allow running with mocha only symlinked in node_modules
2014-01-31 10:11:34 +01:00
Sandro Santilli
76bd1bd37e
Add --nocreate-{pg,redis} and --nodrop-{pg,redis} opts in run_test.sh
2013-12-18 12:33:03 +01:00
Sandro Santilli
5bd0e02103
Read test redis port from configuration, default to 6335
2013-11-27 12:56:33 +01:00
Sandro Santilli
615151528c
Print ogr2ogr version when running tests
2013-09-04 15:15:47 +02:00
Sandro Santilli
7eff0cb107
Retain UTC offset in JSON output for dates
...
Hopefully helps reducing confusion when using timezone-less
with postgresql, in that the time that comes out of JSON output
matches the one input by user, except it may be in an unexpected
timezone (the server's one)
2013-06-19 12:25:48 +02:00
Sandro Santilli
e708d9bf8c
Raise mocha timeout to 5 seconds
...
.. still trying to please the jenkins setup
2013-04-11 16:54:55 +02:00
Sandro Santilli
491c549dcd
Fix exit code from test runner
...
Before this commit it would return success or failure only based
on whether cleanup was successful or bogus
2013-04-11 13:22:47 +02:00
Sandro Santilli
38e750e46d
Improve test runner: allow skipping preparation and specify testfiles
...
Call run_tests.sh with no args to get an help screen
2012-12-07 11:35:37 +01:00
Sandro Santilli
13b3b2f2ff
Don't hide errors during db preparation
2012-10-04 12:04:49 +02:00
Sandro Santilli
2a817fc70a
Re-enable pgsql unit test
...
Was intended to disabled by 86e1439c2c
but commenting out the middle of a multiline string resulted in a
wider testcases omission, due to:
test/run_tests.sh: 42: test/acceptance/app.test.js: Permission denied
2012-09-04 11:22:53 +02:00
Luis Bosque
86e1439c2c
Re-enabled the psql connections pooler. It is
...
essential.
Related to:
e36bfdef5b
2012-08-29 20:52:17 +02:00
Sandro Santilli
8fb65874f0
Fix hang in app.auth.test.js and enable running on make check
...
Closes #38 (yay!)
2012-07-16 13:41:44 +02:00
Sandro Santilli
adae0b483e
Enable app acceptance test (no hang with right pgsql version)
...
See issue #38
2012-07-13 11:13:20 +02:00
Sandro Santilli
e4f3a94256
Port tests to mocha. Closes #35 .
2012-07-13 10:29:09 +02:00
Sandro Santilli
538d9850a0
Reuse the same log file for both redis and db preparator
2012-07-12 22:55:34 +02:00
Sandro Santilli
0c0770bcd4
Enable psql test now that it doesn't hang anymore
2012-07-12 20:16:38 +02:00
Sandro Santilli
a307e1434e
Enable more tests (all the one succeeding for me). Closes #36
...
The metadata test was probably failing due to the redis_pool test
not waiting for redis to complete before exiting (or something
like that).
2012-07-12 18:21:39 +02:00
Sandro Santilli
debc0c2586
Run tests on "make check", using custom port for redis
...
Includes tweaks in the db preparation script and in the tests
for proper handling of async model. Only a single test is run
at the moment, being the only one that succeeded for me.
2012-07-12 18:10:56 +02:00