RedissonSortedSet test fixed

pull/6/head
Nikita 11 years ago
parent 7cdeeb4f80
commit a0b08ee72e

@ -14,7 +14,7 @@ public class ConcurrentRedissonSortedSetTest extends BaseConcurrentTest {
@Test
public void testAdd_SingleInstance() throws InterruptedException {
final String name = "testSingleReplaceOldValue_SingleInstance";
final String name = "testAdd_SingleInstance";
Redisson r = Redisson.create();
RSortedSet<Integer> map = r.getSortedSet(name);
@ -36,6 +36,8 @@ public class ConcurrentRedissonSortedSetTest extends BaseConcurrentTest {
elements.add(i);
}
MatcherAssert.assertThat(map, Matchers.contains(elements.toArray(new Integer[elements.size()])));
map.clear();
r.shutdown();
}

Loading…
Cancel
Save