Jonathan Leibiusky
59f7063b2c
Merge branch 'master' of http://github.com/yaourt/jedis
2010-09-15 14:44:56 -03:00
Jonathan Leibiusky
ed20894c95
Refactores primitive types in the API. Now int -> Integer and double -> Double.
...
This is to support Redis null values
2010-09-15 14:41:35 -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
Jonathan Leibiusky
708ae8a56e
Fixed small bug in the benchmark test
2010-09-14 14:17:10 -03:00
Jonathan Leibiusky
703244c85e
Merge branch 'master' of http://github.com/alextkachman/jedis
2010-09-14 14:11:57 -03:00
Jonathan Leibiusky
8629360954
Added MurmureHash as sharding algo.
2010-09-14 14:08:49 -03:00
Jonathan Leibiusky
a8ffacd30a
Added bunch of missing commands and a test to check if Jedis is updated
2010-09-14 12:08:56 -03:00
Alex Tkachman
20dac7e9b4
more reasonable PoolBenchmark
2010-09-14 11:59:25 +02:00
Jonathan Leibiusky
baab2225f6
Added sharding using ketama
2010-09-14 01:30:59 -03:00
Yaourt
e4ee2c04b7
Merge from upstream/master.
2010-09-13 11:08:02 +02: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
Alex Tkachman
f9e7887e02
more optimizations on write side
2010-09-12 17:05:58 +02:00
Alex Tkachman
aed824c94c
more optimizations on write side
2010-09-12 12:36:16 +02:00
Alex Tkachman
a521841ff5
a bit faster implementation of output stream for Redis
2010-09-11 21:15:38 +03:00
KARASZI István
c6507e6187
connect in sendCommand() and don't check with isConnected() two times
2010-09-11 00:03:28 +08:00
Thomas Sauzedde
97e2a50f60
Add U test for fragmented processBulkReply patch.
2010-09-10 23:48:48 +08:00
Thomas Sauzedde
9211335f0d
Add U test for fragmented processBulkReply patch.
2010-09-10 17:26:09 +02:00
Jonathan Leibiusky
8207c2415f
Added a benchmark to the jedis pool
2010-09-08 17:39:25 -03:00
Jonathan Leibiusky
e6105efd69
Removed not useful information from the pool
2010-09-07 16:31:32 -03:00
Jonathan Leibiusky
2c41132c5c
Remnoved 2 assertions that made tests to fail with the latest version of redis. It was testing too much
2010-09-06 14:54:25 -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
7c0505511e
When in multi show a nice error if not using TransactionJedis
2010-08-27 17:22:21 -03:00
Jonathan Leibiusky
99f29abd7b
Test will now flush everything before executing
2010-08-24 15:29:59 -03:00
Jonathan Leibiusky
96709e0a16
Added connection pool
2010-08-24 00:34:37 -03:00
Jonathan Leibiusky
2e3dc20c07
Fixed issue with converting String to byte array
2010-08-24 00:14:01 -03:00
Jonathan Leibiusky
3f0ecebe72
Implemented CONFIG
2010-08-08 16:07:33 -03:00
Jonathan Leibiusky
c290540968
Changed name to ControlParameters which is more appropiate
2010-08-08 15:57:19 -03:00
Jonathan Leibiusky
8d8c5131f1
Start with a fresh DB when doing benchmark
2010-08-08 15:21:59 -03:00
Jonathan Leibiusky
048d87d26c
Addded default socket timeout of 2000 ms
2010-08-08 14:52:35 -03:00
Jonathan Leibiusky
f0a426a7c7
Implemented MONITOR
2010-08-08 13:48:04 -03:00
Jonathan Leibiusky
0453ffcd1f
Implemented INFO
2010-08-08 13:29:38 -03:00
Jonathan Leibiusky
bb5fe63b72
Implemented LASTSAVE
2010-08-08 13:20:43 -03:00
Jonathan Leibiusky
bf3094f051
Implemented BGREWRITEAOF
2010-08-08 12:59:02 -03:00
Jonathan Leibiusky
6d92097c3a
Implemented BGSAVE
2010-08-08 12:54:55 -03:00
Jonathan Leibiusky
86f3cffe24
Impmented SAVE command
2010-08-08 12:46:33 -03:00
Jonathan Leibiusky
4a7697911d
Implemented ZUNIONSTORE and ZINTERSTORE
2010-08-07 20:28:26 -03:00
Jonathan Leibiusky
84f4c45004
Implemented ZREMRANGEBYSCORE
2010-08-07 19:37:16 -03:00
Jonathan Leibiusky
bb54328802
Implemented ZREMRANGEBYRANK
2010-08-07 18:34:42 -03:00
Jonathan Leibiusky
111eb11440
Implemented ZRANGEBYSCORE
2010-08-07 18:27:51 -03:00
Jonathan Leibiusky
2279746489
Added support for ZCOUNT
2010-08-07 18:04:06 -03:00
Jonathan Leibiusky
2a1ca391e0
Added pubsub support
2010-08-07 17:54:14 -03:00
Jonathan Leibiusky
4c5e8d9ff8
Refactored to be more reliable
2010-08-07 16:33:23 -03:00
Jonathan Leibiusky
f629a576b5
Fixed bug in blpop and brpop tests
2010-08-07 15:44:53 -03:00
Jonathan Leibiusky
5679597495
Added pipeline support
2010-08-05 21:45:21 -03:00
Jonathan Leibiusky
3af260f904
Added DataStreams and BufferedStream to increase performance
2010-08-04 22:11:00 -03:00
Jonathan Leibiusky
1df234153b
New exception management. Less exceptions... assume everything works
2010-08-04 20:15:08 -03:00
Jonathan Leibiusky
b58ae0692c
Moved a core class out of the tests folder
2010-08-04 20:03:25 -03:00
Jonathan Leibiusky
f53c7a1b97
Added a small benchmark test with a small performance improvement
2010-08-04 19:58:42 -03:00