Jennifer Hickey
fb25e79380
Fix NPE when deserializing a null Map
...
DATAREDIS-138
2013-04-01 09:53:08 -07:00
Jennifer Hickey
323f8097a7
Only run SRP getRange tests if Redis version >= 2.4
2013-03-31 11:09:25 -07:00
Jennifer Hickey
b968b85ff4
Enable long-running tests via system property
2013-03-31 10:02:21 -07:00
Jennifer Hickey
a1fb8aad69
Add connection integration tests
...
- Add tests for all Connection methods
- Add tests for all Connection methods through pipeline
- Clean up DB between Connection test runs
- Reduce sleeps in pub/sub tests to improve execution time
2013-03-30 21:28:51 -07:00
Jennifer Hickey
b518fa16bf
Modify connection tests to reuse connection factories
...
- Use Spring integration test support to instantiate ConnectionFactory
once per instance of test class (instead of per method)
- Minimizes number of connection factories and thus connections
in pooled scenarios
2013-03-27 14:58:23 -07:00
Jennifer Hickey
ae3869f0ec
Add RedisProperties Lettuce tests
2013-03-27 14:55:01 -07:00
Jennifer Hickey
22e1c9da9b
Fix JedisConnection transaction discard
...
DATAREDIS-135
2013-03-21 18:16:57 -07:00
Jennifer Hickey
57edca0785
Fix Jredis sort to store results under new key
...
DATAREDIS-135
- Also fix NPE on parsing null getPattern in
DefaultSortParameters
2013-03-21 18:02:56 -07:00
Jennifer Hickey
8553552d2b
Fix Lettuce and SRP blpop/brpop issues
...
- DATAREDIS-127 Fix Lettuce NPE on timeout
- DATAREDIS-128 Fix SRP arg array conversion and NPE
on timeout
2013-03-20 15:07:42 -07:00
Jennifer Hickey
9642b7ea72
Merge branch 'DATAREDIS-117' of github.com:porcelijn/spring-data-redis into porcelijn-DATAREDIS-117
...
Conflicts:
src/test/java/org/springframework/data/redis/connection/AbstractConnectionIntegrationTests.java
src/test/java/org/springframework/data/redis/connection/jedis/JedisConnectionIntegrationTests.java
2013-03-19 09:46:04 -07:00
Tijn Porcelijn
27a7ab0738
Fix for (hash) increment treats long values as int
...
While the (hash) increment() method accepts a long argument (and Redis
HINCRBY/INCRBY/DECRBY treats arguments as 64 bits), it is cast to a
32bits signed int in the JedisConnection class.
- Removed offensive (& unnecessary) casts
- Extended integration tests with incrBy, decrBy and hIncrBy to
demonstrate handling of large numbers
- Fixed typos in test support
(CollectionTestParams, AbstractConnectionIntegrationTests)
Issue: DATAREDIS-117
2013-03-19 11:15:59 +01:00
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
575bf78847
disable section of the test
2013-02-11 17:21:08 +02:00
Costin Leau
570abe6f9c
fix incorrect opening of pipeline during multi
2013-02-11 17:13:28 +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
0b70fa2d23
fix incorrect cast of BulkReply to byte[] in SprConnection
...
DATAREDIS-114
2013-02-05 19:01:14 +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
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
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
38fdeb066a
add concurrency fix
2012-09-24 21:02:27 +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
1944db6f08
add pipeline/multi-exec/NPE checks
...
REDIS-100
additionally fix the return value for BoundHashOperations from primitive to obj
2012-08-10 21:04:39 +03:00
Costin Leau
d00d7143bd
add more tests for pipeline execution
2012-06-25 21:48:27 +03:00
Costin Leau
ebe05a04a0
fix bug that return an empty list for #closePipeline
2012-06-25 21:20:58 +03:00
Costin Leau
d46b23fe1b
finish closePipeline for Srp
2012-06-25 20:46:06 +03:00
Costin Leau
7a89656cf0
add pipeline exception for Rjc
2012-06-25 19:49:20 +03:00
Costin Leau
64c527c088
handle exceptions of native execution
2012-06-25 19:06:12 +03:00
Costin Leau
5d8206f366
force result for Srp#exec when not in pipeline
2012-06-22 10:28:32 +03:00
Costin Leau
a440291c6a
fix double invocation of listeners implementing intf
...
DATAREDIS-92
2012-06-21 20:58:26 +03:00
Costin Leau
a01e126ea9
Merge branch 'master' into srp
2012-06-21 20:05:41 +03:00
Costin Leau
42c0ed804f
add jredis implementation for execute native
2012-06-21 17:33:31 +03:00
Costin Leau
1d03085a81
add native execute for JedisConnection
2012-06-21 17:11:46 +03:00
Costin Leau
3bfcc7daf6
add test exclusion to avoid RJC bug for incr(by)
...
DATAREDIS-88
2012-05-23 19:29:04 +03:00