Commit Graph

14 Commits

Author SHA1 Message Date
Michael Cameron
fb33b262e4 Add ability to specify database number in pool config 2011-08-26 16:47:37 -05:00
Jonathan Leibiusky
cfc906167c add test to check JedisPool with password 2011-05-11 18:34:41 -03:00
Jonathan Leibiusky
2a4a43f4cd add JedisDataException and JedisConnectionException 2011-01-30 17:46:17 -03:00
Jonathan Leibiusky
1076140bf5 test use the new jedis pool config 2011-01-20 16:05:40 -03:00
Jonathan Leibiusky
6f92f5fc9c pool doesn't throw Exception anymore but JedisException 2010-12-10 17:36:44 -03:00
Jonathan Leibiusky
71eb4c5b4a replace custom pool implementation with apache's 2010-11-21 18:16:31 -03:00
Jonathan Leibiusky
f62548931c Add a pool for sharded jedis 2010-11-10 13:41:41 -03:00
Yaourt
4a1d9928b5 Update the way the Redis host(s) can be configured for the tests.
There is now a single property : redis-hosts.
This property must contain at least 2 host definitions of the form "host:port" (comma separated).
Sharding tests need 2 hosts ...

If this is not the case, the default value used is "localhost:6379,localhost:6380".
Tests that required one host are using the first definition.
2010-09-15 10:49:36 +02:00
Jonathan Leibiusky
224555afd2 Added password to Jedis, JedisPool and ShardedJedis constructor for easier and more efficient usage 2010-09-14 16:43:48 -03:00
Yaourt
d61f4d79d8 Allow to execute tests against a remote server.
Update Maven pom to use "redis-host" and "redis-port" env. properties.
Default values point to localhost:6379.

Tests updated to use this properties and also defaulted to localhost:6379.
2010-09-13 10:57:30 +02:00
Jonathan Leibiusky
e6105efd69 Removed not useful information from the pool 2010-09-07 16:31:32 -03:00
Jonathan Leibiusky
68905396d5 Fixed EOFException issue with JedisPool. Was trying to reuse a broken Jedis 2010-09-04 11:29:54 -03:00
Jonathan Leibiusky
aa7a96d05c Fixed broken constructor. Wasn't setting default protocol 2010-08-30 11:12:24 -03:00
Jonathan Leibiusky
96709e0a16 Added connection pool 2010-08-24 00:34:37 -03:00