Commit Graph

7 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
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
8d8c5131f1 Start with a fresh DB when doing benchmark 2010-08-08 15:21:59 -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
f53c7a1b97 Added a small benchmark test with a small performance improvement 2010-08-04 19:58:42 -03:00