mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user