You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vp...@apache.org on 2023/09/27 20:56:03 UTC

[ignite-3] branch main updated: IGNITE-20509 StorageCleanupTest compilation error (#2639)

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

vpyatkov 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 ad46588831 IGNITE-20509 StorageCleanupTest compilation error (#2639)
ad46588831 is described below

commit ad465888314cc9d91562f4ab718f1406a5887f5f
Author: Cyrill <cy...@gmail.com>
AuthorDate: Wed Sep 27 23:55:57 2023 +0300

    IGNITE-20509 StorageCleanupTest compilation error (#2639)
---
 .../ignite/internal/table/distributed/StorageCleanupTest.java    | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/modules/table/src/test/java/org/apache/ignite/internal/table/distributed/StorageCleanupTest.java b/modules/table/src/test/java/org/apache/ignite/internal/table/distributed/StorageCleanupTest.java
index 1e8029f312..75cf522ac1 100644
--- a/modules/table/src/test/java/org/apache/ignite/internal/table/distributed/StorageCleanupTest.java
+++ b/modules/table/src/test/java/org/apache/ignite/internal/table/distributed/StorageCleanupTest.java
@@ -95,9 +95,10 @@ public class StorageCleanupTest extends BaseMvStoragesTest {
 
     @BeforeEach
     void setUp(@InjectConfiguration GcConfiguration gcConfig) {
-        int pkIndexId = 1;
-        int sortedIndexId = 2;
-        int hashIndexId = 3;
+        int tableId = 1;
+        int pkIndexId = 2;
+        int sortedIndexId = 3;
+        int hashIndexId = 4;
 
         pkInnerStorage = new TestHashIndexStorage(PARTITION_ID, new StorageHashIndexDescriptor(pkIndexId, List.of(
                 new StorageHashIndexColumnDescriptor("INTKEY", NativeTypes.INT32, false),
@@ -140,7 +141,7 @@ public class StorageCleanupTest extends BaseMvStoragesTest {
                 hashIndexId, hashIndexStorage
         );
 
-        TestPartitionDataStorage partitionDataStorage = new TestPartitionDataStorage(storage);
+        TestPartitionDataStorage partitionDataStorage = new TestPartitionDataStorage(tableId, PARTITION_ID, storage);
 
         IndexUpdateHandler indexUpdateHandler = new IndexUpdateHandler(DummyInternalTableImpl.createTableIndexStoragesSupplier(indexes));