DATAREDIS-611 - Update Javadoc and remove superfluous negativity limitations.

Original Pull Request: #501
This commit is contained in:
Christoph Strobl
2020-01-27 12:38:09 +01:00
parent 31d4730222
commit 75fcb0ec3d
5 changed files with 18 additions and 8 deletions

View File

@@ -131,8 +131,9 @@ public class DefaultListOperationsTests<K, V> {
assertThat(listOps.range(key, 0, -1)).contains(v3, v2, v1);
}
@Test
@Test // DATAREDIS-611
public void testLeftPopDuration() {
// 1 ms timeout gets upgraded to 1 sec timeout at the moment
assumeTrue(RedisTestProfileValueSource.matches("runLongTests", "true"));
assumeTrue(valueFactory instanceof StringObjectFactory);
@@ -146,8 +147,9 @@ public class DefaultListOperationsTests<K, V> {
assertThat(listOps.leftPop(key, Duration.ofSeconds(1))).isEqualTo(v1);
}
@Test
@Test // DATAREDIS-611
public void testRightPopDuration() {
// 1 ms timeout gets upgraded to 1 sec timeout at the moment
assumeTrue(RedisTestProfileValueSource.matches("runLongTests", "true"));
assumeTrue(valueFactory instanceof StringObjectFactory);