Commit Graph

28 Commits

Author SHA1 Message Date
Jonathan Leibiusky
105ca9f5bb Reformat all files in the project according to java conventions. 2014-01-31 11:24:06 -05:00
Jungtaek Lim
7e1a1a70b2 Speed up Sentinel related tests
* remove FIXME sleep codes for Sentinel related tests
** add functions for Sentinel tests (JedisSentinelTestUtil)
*** waitForSentinelRecognizeRedisReplication
*** waitForNewPromotedMaster
*** waitForSentinelsRecognizeEachOthers
**** TODO: there're no command for sentinel to list recognized sentinel
**** sleep 5.5 sec (sentinel pings to master every 5 sec)

* set HostAndPort class to public(no longer inner) class
** reason: We cannot know pool's current master if HostAndPort class is
private inner class / HostAndPort classes are duplicated (main/test)
** make getter method and parameterized constructor
*** set fields once, get anytime
2013-10-07 11:03:32 +09:00
Hisham Mardam-Bey
9b78d19dcf Merge branch 'fix-issue-438' of https://github.com/vrischmann/jedis 2013-08-21 21:01:03 -04:00
anthonyu
2475f24f7e Fix formatting. 2013-08-20 20:43:50 -07:00
anthonyu
bc86b1210b Pipeline eval and evalsha. 2013-08-20 19:43:32 -07:00
Vincent Rischmann
6dbad88250 Fix issue #438 2013-08-06 00:36:48 +02:00
shendley
45be143e23 Fixed binary safe pipeline commands and added tests for pipelined hash functions 2012-12-18 10:26:56 -05:00
ivowiblo
d526a32b12 Pipeline.exec() now returns a response 2012-04-29 02:55:22 -04:00
ivowiblo
6bc2ac0a4f Pipeline supports Multi. Issue #251 is fixed. 2012-04-29 02:43:39 -04:00
ivowiblo
c9b413c323 Select support to pipeline. Thanks to @ib84 2012-04-17 16:40:54 -04:00
ivos
f3a5d62e2b Issue #158 is fixed: Response.get() returns null if redis returned null (i.e. when using zscore for a non existing member) 2011-12-14 09:18:36 -03:00
KARASZI István
04f603820f fixed some FindBugs errors 2011-09-26 17:45:49 +02:00
Vladimir Soskov
22d4d3fc53 fixing Issue 188 2011-07-31 19:50:16 -07:00
Eric Hauser
3b55731b7b Pipeline commands should not throw an exception when a key is unset 2011-06-02 00:42:56 -04:00
Jonathan Leibiusky
d690833ed6 avoid creating pipeline responses and do it lazy 2011-05-30 13:43:21 -03:00
Jonathan Leibiusky
cd3b50268e add publish command to Pipeline 2011-05-11 22:29:42 -03:00
Jonathan Leibiusky
e87b8947c4 add more tests to pipeline repsonse 2011-04-17 01:03:26 -03:00
Jonathan Leibiusky
713cb15b03 remove stupid test :( 2011-04-16 22:43:07 -03:00
Jonathan Leibiusky
443686b155 double builder should build from string 2011-04-16 17:06:00 -03:00
Jonathan Leibiusky
6707b62342 pipeline return formatted values 2011-04-06 01:07:20 -03:00
Jonathan Leibiusky
2a4a43f4cd add JedisDataException and JedisConnectionException 2011-01-30 17:46:17 -03:00
Jonathan Leibiusky
8043f12e20 Add alternative pipeline usage 2010-11-27 15:44:43 -03:00
Jonathan Leibiusky
098de44a07 add support for java 1.5 2010-11-21 19:53:43 -03:00
Yaourt
47a39cb520 Fix some more U tests ... 2010-11-05 10:28:19 +01:00
Jonathan Leibiusky
6a1e141064 Added sharding benchmark and removed some imports 2010-09-30 21:04:21 -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
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
5679597495 Added pipeline support 2010-08-05 21:45:21 -03:00