This is an automated email from the ASF dual-hosted git repository.
sk0x50 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 708aa899dfc IGNITE-25020 Fix NPE in TableManagerTest when colocation
is enabled (#5570)
708aa899dfc is described below
commit 708aa899dfc112d5f8bcfbf5eeda9efb96059682
Author: Slava Koptilin <[email protected]>
AuthorDate: Thu Apr 3 19:17:58 2025 +0300
IGNITE-25020 Fix NPE in TableManagerTest when colocation is enabled (#5570)
---
.../org/apache/ignite/internal/table/distributed/TableManagerTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/modules/table/src/test/java/org/apache/ignite/internal/table/distributed/TableManagerTest.java
b/modules/table/src/test/java/org/apache/ignite/internal/table/distributed/TableManagerTest.java
index 584f73091dd..acb0f134599 100644
---
a/modules/table/src/test/java/org/apache/ignite/internal/table/distributed/TableManagerTest.java
+++
b/modules/table/src/test/java/org/apache/ignite/internal/table/distributed/TableManagerTest.java
@@ -328,6 +328,8 @@ public class TableManagerTest extends IgniteAbstractTest {
tblManagerFut = new CompletableFuture<>();
+
when(partitionReplicaLifecycleManager.lockZoneForRead(anyInt())).thenReturn(completedFuture(100L));
+
mockMetastore();
}