alex-plekhanov commented on a change in pull request #9463:
URL: https://github.com/apache/ignite/pull/9463#discussion_r729001324



##########
File path: 
modules/indexing/src/test/java/org/apache/ignite/cache/query/IndexQueryWrongIndexTest.java
##########
@@ -37,14 +39,23 @@
     private static final String DESC_ID_IDX = "DESC_ID_IDX";
 
     /** */
-    @Test
-    public void testWrongIndexAndFieldsMatching() throws Exception {
+    private static IgniteCache<Integer, Person> cache;
+
+    /** {@inheritDoc} */
+    @Override protected void beforeTestsStarted() throws Exception {
+        super.beforeTestsStarted();
+
         Ignite crd = startGrids(2);
 
-        IgniteCache<Integer, Person> cache = crd.getOrCreateCache(new 
CacheConfiguration<Integer, Person>()
+        cache = crd.getOrCreateCache(new CacheConfiguration<Integer, Person>()
+            .setAtomicityMode(CacheAtomicityMode.TRANSACTIONAL)

Review comment:
       TRANSACTIONAL mode looks redundant here




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to