#726 - L2 cache returns stale data -> change such that when using "local L2 caching" the changes to L2 cache propagate in foreground

This commit is contained in:
Robin Bygrave
2016-06-08 14:38:08 +12:00
parent 353175626d
commit cd56b3ca3c
9 changed files with 72 additions and 41 deletions
@@ -41,11 +41,7 @@ public class BaseTestCase {
* Wait for the L2 cache to propagate changes post-commit.
*/
protected void awaitL2Cache() {
try {
Thread.sleep(10);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
// do nothing, used to thread sleep
}
protected <T> BeanDescriptor<T> getBeanDescriptor(Class<T> cls) {