This is an automated email from the ASF dual-hosted git repository.

sanpwc pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 13d1fa09e0 IGNITE-23481 Remove useless 
ItTablesApiTest#testGetTableFromLaggedNode. (#4588)
13d1fa09e0 is described below

commit 13d1fa09e0e227e0e8a373d6c087b9748c38bf03
Author: Alexander Lapin <[email protected]>
AuthorDate: Thu Oct 17 18:58:27 2024 +0300

    IGNITE-23481 Remove useless ItTablesApiTest#testGetTableFromLaggedNode. 
(#4588)
---
 .../internal/runner/app/ItTablesApiTest.java       | 43 ----------------------
 1 file changed, 43 deletions(-)

diff --git 
a/modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/ItTablesApiTest.java
 
b/modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/ItTablesApiTest.java
index fe31636eca..eb22318f42 100644
--- 
a/modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/ItTablesApiTest.java
+++ 
b/modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/ItTablesApiTest.java
@@ -126,49 +126,6 @@ public class ItTablesApiTest extends 
ClusterPerTestIntegrationTest {
         assertThat(createTblIfNotExistsFut, willCompleteSuccessfully());
     }
 
-    /**
-     * Test scenario when we have lagged node, and tables with the same name 
are deleted and created again.
-     */
-    @Test
-    public void testGetTableFromLaggedNode() {
-        cluster.runningNodes().forEach(ign -> 
assertNull(ign.tables().table(TABLE_NAME)));
-
-        Ignite ignite0 = cluster.node(0);
-
-        Ignite ignite1 = cluster.node(1);
-
-        Table tbl = createTable(ignite0, TABLE_NAME);
-
-        Tuple tableKey = Tuple.create()
-                .set("key", 123L);
-
-        Tuple value = Tuple.create()
-                .set("valInt", 1234)
-                .set("valStr", "some string row");
-
-        tbl.keyValueView().put(null, tableKey, value);
-
-        assertEquals(value, tbl.keyValueView().get(null, tableKey));
-
-        assertEquals(value, 
ignite1.tables().table(TABLE_NAME).keyValueView().get(null, tableKey));
-
-        WatchListenerInhibitor ignite1Inhibitor = 
metastorageEventsInhibitor(ignite1);
-
-        ignite1Inhibitor.startInhibit();
-
-        Tuple otherValue = Tuple.create()
-                .set("valInt", 12345)
-                .set("valStr", "some other string row");
-
-        tbl.keyValueView().put(null, tableKey, otherValue);
-
-        assertEquals(otherValue, tbl.keyValueView().get(null, tableKey));
-
-        ignite1Inhibitor.stopInhibit();
-
-        assertEquals(otherValue, 
ignite1.tables().table(TABLE_NAME).keyValueView().get(null, tableKey));
-    }
-
     /**
      * Tries to create an index which is already created.
      */

Reply via email to