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

zyxxoo pushed a commit to branch refactor/rust-rewrite-design
in repository https://gitbox.apache.org/repos/asf/hugegraph.git


The following commit(s) were added to refs/heads/refactor/rust-rewrite-design 
by this push:
     new 40d497442 test(store): isolate core suites in separate JVMs
40d497442 is described below

commit 40d49744252d13850f004478bd8260886533fcdf
Author: vaughn <[email protected]>
AuthorDate: Sun Sep 13 09:43:07 2026 +0800

    test(store): isolate core suites in separate JVMs
---
 docs/rust-rewrite-pd-store-test-audit.md | 2 ++
 hugegraph-store/hg-store-test/pom.xml    | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/docs/rust-rewrite-pd-store-test-audit.md 
b/docs/rust-rewrite-pd-store-test-audit.md
index 9199d28eb..6bab5cd8f 100644
--- a/docs/rust-rewrite-pd-store-test-audit.md
+++ b/docs/rust-rewrite-pd-store-test-audit.md
@@ -55,3 +55,5 @@ Snapshot 本地保存标记测试(2026-09-13):新增 `SnapshotHandlerTest.
 Store 全量回归(2026-09-13):活动 SnapshotHandler 测试纳入后,执行完整 
`hg-store-test`(`-Djacoco.skip=true`),所有已启用 suite 均通过,`BUILD 
SUCCESS`;日志:`/tmp/store-regression-final.log`。该回归仍不包含真实跨进程崩溃恢复和损坏快照注入。
 
 Profile 隔离复验(2026-09-13):尝试将活动 SnapshotHandlerTest 加入 `store-core-test` 
后,Snapshot 5/5 通过,但随后 BatchGraphIsolationTest 因 JRaft `TableFormatConfig` 
静态重复注册失败。已撤销该 profile 合并,保留独立 Snapshot 执行入口;Store 测试 profile 需要 fork/JVM 
隔离设计后才能宣称 CI 覆盖闭环。
+
+Profile 隔离修复(2026-09-13):为 `store-core-test` 设置 
`forkCount=1`、`reuseForks=false` 并纳入活动 `SnapshotHandlerTest`;Snapshot 
5/5、BatchGraphIsolation 6/6 均通过,profile 总计 11 项通过,`BUILD 
SUCCESS`。日志:`/tmp/store-core-fork.log`。该配置消除了 JRaft 静态注册跨 suite 污染。
diff --git a/hugegraph-store/hg-store-test/pom.xml 
b/hugegraph-store/hg-store-test/pom.xml
index ed91e011e..777f6b6bf 100644
--- a/hugegraph-store/hg-store-test/pom.xml
+++ b/hugegraph-store/hg-store-test/pom.xml
@@ -238,6 +238,8 @@
                     <execution>
                         <id>store-core-test</id>
                         <configuration>
+                            <forkCount>1</forkCount>
+                            <reuseForks>false</reuseForks>
                             <testSourceDirectory>${basedir}/src/main/java/
                             </testSourceDirectory>
                             <testClassesDirectory>${basedir}/target/classes/
@@ -245,6 +247,7 @@
                             <includes>
                                 <include>**/CoreSuiteTest.java</include>
                                 
<include>**/BatchGraphIsolationTest.java</include>
+                                
<include>**/snapshot/SnapshotHandlerTest.java</include>
                             </includes>
                         </configuration>
                     </execution>

Reply via email to