Commit Graph

1266 Commits

Author SHA1 Message Date
Jennifer Hickey
c05c0aaaa0 Cleanup test application context 2013-03-14 16:41:09 -07:00
Jennifer Hickey
f45875f628 Add missing client types to parameterized tests 2013-03-14 16:39:46 -07:00
Jennifer Hickey
0a7e3dd204 Clean up Connection integration tests
- Test multi for all applicable connection types

- Clean up unused code

- Remove redundant long-running pubsub test
2013-03-14 15:17:45 -07:00
Jennifer Hickey
ca00877e64 Use connection pools in all tests
The test suite creates a lot of connections. Use connection pooling where possible to minimize risk of Socket BindExceptions.
2013-03-14 15:10:47 -07:00
Jennifer Hickey
a406417efd Fix intermittent SRP Pub/Sub test failures
SRP unsubscribes asynchronously, so occasionally not all messages were delivered prior to unsubscribe. Test will now unsubscribe on connection close instead.
2013-03-14 14:52:44 -07:00
Jennifer Hickey
223ec79c7e Fix Connection Pub/Sub tests
- Use correct argument order in publish calls

- Assert that messages were received
2013-03-08 13:27:28 -08:00
Jennifer Hickey
d46bee7e57 Revert "convertAndSend returns the nr of targeted channels"
- DATAREDIS-118

- Change method return type back to void to fix backwards
compatibility issues

- Modify tests to assert specific clients receive or
don't receive messages vs comparing expected client counts
2013-03-06 16:40:00 -08:00
Costin Leau
5f24495d00 remove invalid javadoc 2013-02-13 17:58:33 +02:00
Costin Leau
cb0f559709 minor optimization to #del() 2013-02-13 17:32:38 +02:00
Costin Leau
575bf78847 disable section of the test 2013-02-11 17:21:08 +02:00
Costin Leau
74881befe8 make topic impl return their names (easier to dbg) 2013-02-11 17:14:56 +02:00
Costin Leau
570abe6f9c fix incorrect opening of pipeline during multi 2013-02-11 17:13:28 +02:00
Costin Leau
0d7eccc72b add template constructor 2013-02-11 16:01:00 +02:00
Costin Leau
7fbbea0ad3 add missing methods + various pipeline fixes 2013-02-08 18:07:28 +02:00
Costin Leau
75a727537f minor pipeline fix in Jedis 2013-02-08 18:07:02 +02:00
Costin Leau
76a1e01a2d several pipeline bug fixes for Lettuce driver
DATAREDIS-113
2013-02-08 18:06:44 +02:00
Costin Leau
e631af2f2e remove unused code + add NPE fix 2013-02-07 21:30:06 +02:00
Costin Leau
fb9b2215d3 improve unsubscription of channels/patterns in LettuceSub
DATAREDIS-113
2013-02-07 21:26:38 +02:00
Costin Leau
cad7878fa1 properly unsubscribe from channels not patterns on unsub all 2013-02-07 21:17:50 +02:00
Costin Leau
272c3f96c7 properly cleanup listeners in Message Container 2013-02-07 21:17:26 +02:00
Costin Leau
dbf5c7c64c properly close the underlying pubsub connection on (p)unsubscribe all
DATAREDIS-113
2013-02-07 21:16:50 +02:00
Costin Leau
0851fa3c20 add lettuce into the test batch
DATAREDIS-113
2013-02-07 20:19:39 +02:00
Costin Leau
694481cee5 add lettuce integration test
DATAREDIS-113
2013-02-07 20:10:10 +02:00
Costin Leau
de623fe186 fixes with closePipeline and pubsub
DATAREDIS-113
2013-02-07 20:09:53 +02:00
Costin Leau
e472a5f5e5 add support for Lettuce Redis driver
DATAREDIS-113
2013-02-07 17:52:17 +02:00
Costin Leau
0b70fa2d23 fix incorrect cast of BulkReply to byte[] in SprConnection
DATAREDIS-114
2013-02-05 19:01:14 +02:00
Costin Leau
a0f7e690cf add unimplemented method in StringRedisConnection 2013-02-05 18:58:16 +02:00
Costin Leau
b869bc7136 add warning regarding RedisTemplate initialization
DATAREDIS-112
2013-02-05 18:47:49 +02:00
Costin Leau
3be1d7d637 update copyright years 2013-02-05 18:47:49 +02:00
Costin Leau
a56e5f19ca sync javadoc with impl on useprefix 2013-01-28 12:13:02 -05:00
Costin Leau
d73d8a0365 yet another test update 2013-01-25 13:20:58 +02:00
Costin Leau
acc27f4ccd update integration test 2013-01-25 12:48:00 +02:00
Costin Leau
0365c69c08 test update
DATAREDIS-107
2013-01-25 11:12:51 +02:00
Costin Leau
b9645d64d1 improve Atomic integration tests 2013-01-25 10:57:26 +02:00
Costin Leau
e3946af60c improve conn handling when all subs are removed
DATAREDIS-107
RMLC properly closes
2013-01-25 10:57:04 +02:00
Costin Leau
613c2e09e7 remove listeners programatically in RMLContainer
DATAREDIS-107
listeners can be removed not just added programatically
fix bug causing double message dispatch for pattern subscriptions
introduce more pubsub tests
2013-01-25 00:11:47 +02:00
Costin Leau
12c66277f7 add hash/equals impl to Topic impl 2013-01-24 20:24:42 +02:00
Costin Leau
b35f6a3c5d convertAndSend returns the nr of targeted channels 2013-01-24 19:11:01 +02:00
Costin Leau
d01f13acfa update copyright header 2013-01-23 19:32:39 +02:00
Costin Leau
8451efa11f add multi-threaded test for AtomicInteger
DATAREDIS-108
2013-01-23 19:30:11 +02:00
Costin Leau
d22684dfda improve handling of staleness exception during connection init
DATAREDIS-109
2012-11-29 17:06:53 +02:00
Costin Leau
3f7d1b8baa improve handling of SocketException for Jedis driver
DATAREDIS-109
2012-11-29 16:46:57 +02:00
Costin Leau
38fdeb066a add concurrency fix 2012-09-24 21:02:27 +03:00
Costin Leau
d5e99d6afc add offset/count methods to ZSetOperations
DATAREDIS-104
(cherry picked from commit a6a78398ba438bd2123c16f9364f0c195f1cf59d)
2012-09-24 20:58:11 +03:00
Costin Leau
126b8c5a58 remove useless public abstract from interface
remove left-over from Eclipse generate interface
2012-08-20 18:44:32 +03:00
Costin Leau
bebcbadc9e disable test (until we figure why a build passes while another fails) 2012-08-14 18:37:34 +03:00
Costin Leau
b355ba843c improve test for CI server 2012-08-14 18:18:44 +03:00
Costin Leau
a2002b705e polish REDIS-102 2012-08-14 17:30:49 +03:00
Costin Leau
9b39f21747 Merge pull request #5 from xpoft/master
DATAREDIS-102. Set usePrefix / Expire time
2012-08-14 06:52:57 -07:00
Costin Leau
f4b6bc42d4 Merge pull request #3 from bm3780/patch-1
use delimiter specified from constructor if possible, othe...
2012-08-13 08:19:03 -07:00