mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - sys out for CI server
This commit is contained in:
@@ -73,11 +73,12 @@ public class TestBatchLazyWithCacheHits extends BaseTestCase {
|
||||
list.get(0).getName();
|
||||
|
||||
List<String> sql = LoggedSqlCollector.stop();
|
||||
System.out.println("sql:" + sql);
|
||||
|
||||
// batch lazy loading into cache
|
||||
assertThat(sql).hasSize(2);
|
||||
assertThat(sql.get(0)).contains("from uuone t0 where t0.name like ? order by t0.name");
|
||||
assertThat(sql.get(1)).contains("from uuone t0 where t0.id in (?,?,?,?");
|
||||
assertThat(sql.get(1)).contains("from uuone t0 where t0.id in (?,");
|
||||
|
||||
statistics = beanCache.getStatistics(true);
|
||||
assertThat(statistics.getSize()).isGreaterThan(3);
|
||||
|
||||
Reference in New Issue
Block a user