nizhikov commented on code in PR #11438: URL: https://github.com/apache/ignite/pull/11438#discussion_r1767481113
########## modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/ServerStatisticsIntegrationTest.java: ########## @@ -484,23 +485,29 @@ protected QueryChecker assertQuerySrv(String qry) { * @param count Rows count. * @return Populated cache. */ - protected IgniteCache<Integer, AllTypes> createAndPopulateAllTypesTable(int start, int count) { - IgniteCache<Integer, AllTypes> all_types = grid(0).getOrCreateCache(new CacheConfiguration<Integer, AllTypes>() - .setName("all_types") - .setSqlSchema("PUBLIC") - .setQueryEntities(F.asList(new QueryEntity(Integer.class, AllTypes.class).setTableName("all_types"))) - .setBackups(2) - ); + protected IgniteCache<Integer, AllTypes> populateAllTypesTable(int start, int count) { + IgniteCache<Integer, AllTypes> all_types = grid(0).cache("all_types"); for (int i = start; i < start + count; i++) { boolean null_values = (i & 3) == 1; - all_types.put(i, new AllTypes(i, null_values)); + put(grid(0), all_types, i, new AllTypes(i, null_values)); } return all_types; } + /** */ + private void createAllTypesTable() { + grid(0).getOrCreateCache(this.<Integer, AllTypes>cacheConfiguration() + .setName("all_types") + .setSqlSchema("PUBLIC") + .setQueryEntities(F.asList(new QueryEntity(Integer.class, AllTypes.class).setTableName("all_types"))) + .setBackups(2) + ); + Review Comment: Fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org