Add temporary test failure diagnostic

This commit is contained in:
Jennifer Hickey
2013-07-30 10:29:46 -07:00
parent d258cab22c
commit 32bb0b8791

View File

@@ -18,6 +18,7 @@ package org.springframework.data.redis.support.atomic;
import java.io.Serializable;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.springframework.data.redis.connection.DataType;
@@ -171,7 +172,9 @@ public class RedisAtomicInteger extends Number implements Serializable, BoundKey
if (expect == get()) {
generalOps.multi();
set(update);
if (operations.exec() != null) {
List results = operations.exec();
if (results != null) {
System.out.println(results);
return true;
}
}