Skip to content

Commit

Permalink
Ignore the two tests trying to reproduce a race condition (Fix #394)
Browse files Browse the repository at this point in the history
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
  • Loading branch information
cescoffier committed Dec 27, 2014
1 parent 73cefab commit b83f7d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
package org.wisdom.cache.ehcache;

import org.joda.time.Duration;
import org.junit.Ignore;
import org.junit.Test;
import org.wisdom.api.cache.Cache;
import org.wisdom.api.cache.Cached;
Expand Down Expand Up @@ -148,6 +149,7 @@ public void testCachingNoCache() throws Exception {
}

@Test
@Ignore("Does not reproduce the race condition")
public void testPeak() throws InterruptedException {
ApplicationConfiguration configuration = mock(ApplicationConfiguration.class);
final EhCacheService svc = new EhCacheService();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
package org.wisdom.cache.ehcache;

import org.joda.time.Duration;
import org.junit.Ignore;
import org.junit.Test;
import org.wisdom.api.configuration.ApplicationConfiguration;

Expand Down Expand Up @@ -103,6 +104,7 @@ public void testRestart() throws InterruptedException {
}

@Test
@Ignore("Does not reproduce the race condition")
public void testPeak() throws InterruptedException {
ApplicationConfiguration configuration = mock(ApplicationConfiguration.class);
final EhCacheService svc = new EhCacheService();
Expand Down

0 comments on commit b83f7d9

Please sign in to comment.