Skip to content

Commit

Permalink
[ISPN-582] (Eviction with passivation introduces a race where entries…
Browse files Browse the repository at this point in the history
… are invisible to callers)
  • Loading branch information
maniksurtani committed Aug 12, 2010
1 parent 7b0d771 commit 735a2f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class ConfigurationValidatingVisitor extends AbstractConfigurationBeanVis

@Override
public void visitSingletonStoreConfig(SingletonStoreConfig ssc) {
if (tt == null) throw new ConfigurationException("Singleton store configured without transport being configured");
if (tt == null && ssc.isSingletonStoreEnabled()) throw new ConfigurationException("Singleton store configured without transport being configured");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public void testPiggybackLRU() {
runTest(EvictionThreadPolicy.PIGGYBACK, EvictionStrategy.LRU);
}

@Test (enabled = false, description = "See ISPN-598")
public void testPiggybackLIRS() {
runTest(EvictionThreadPolicy.PIGGYBACK, EvictionStrategy.LIRS);
}
Expand All @@ -58,6 +59,7 @@ public void testDefaultLRU() {
runTest(EvictionThreadPolicy.DEFAULT, EvictionStrategy.LRU);
}

@Test (enabled = false, description = "See ISPN-598")
public void testDefaultLIRS() {
runTest(EvictionThreadPolicy.DEFAULT, EvictionStrategy.LIRS);
}
Expand Down

0 comments on commit 735a2f4

Please sign in to comment.