Skip to content

Commit

Permalink
GEODE-8244: enable ignored redis tests (apache#5245)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschneider-pivotal authored Jun 15, 2020
1 parent 4477013 commit dd6a002
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import redis.clients.jedis.Jedis;
Expand Down Expand Up @@ -100,7 +99,6 @@ public void run() {
}

@Test
@Ignore("GEODE-8127")
public void testConcurrentSaddOperations_runWithoutException_orDataLoss()
throws InterruptedException {
List<String> set1 = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test;
import redis.clients.jedis.Jedis;

Expand Down Expand Up @@ -160,14 +159,13 @@ public void whenExpirationIsSet_andKeyIsDeletedOnAnotherServerThenReset_ttlIsRem


@Test
@Ignore("GEODE-8058: this test needs to pass to have feature parity with native redis")
public void whenExpirationIsSet_andKeyWithoutExpirationIsRenamedOnAnotherServer_expirationIsCorrectlyTransferred() {
String key1 = "key1";
String key2 = "key2";

jedis1.sadd(key1, "value");
jedis1.sadd(key2, "value");
jedis1.expire(key1, 20);
jedis1.expire(key1, 200);
jedis2.rename(key1, key2);

assertThat(jedis1.ttl(key2)).isGreaterThan(0L);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public void testSET_should_not_clearPreviousTTL_onFailure() {
}

@Test
@Ignore("GEODE-8058: this test needs to pass to have feature parity with native redis")
@Ignore("KEEPTTL is part of redis 6")
public void testSET_with_KEEPTTL_shouldRetainPreviousTTL_OnSuccess() {
String key = "key";
String value = "value";
Expand Down Expand Up @@ -719,7 +719,7 @@ public void testMGet_requestNonexistentKey_respondsWithNil() {

@Test
@Ignore("GEODE-8192")
public void testMGet_concurrentInstances_mustBeAtomic()
public void testMSet_concurrentInstances_mustBeAtomic()
throws InterruptedException, ExecutionException {
String keyBaseName = "MSETBASE";
String val1BaseName = "FIRSTVALBASE";
Expand Down

0 comments on commit dd6a002

Please sign in to comment.