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 fbafe1629 test(store): target active snapshot handler implementation
fbafe1629 is described below

commit fbafe162911b84fe0fa9038205ef467b7075fed7
Author: vaughn <[email protected]>
AuthorDate: Sun Sep 13 09:09:42 2026 +0800

    test(store): target active snapshot handler implementation
---
 .../{HgSnapshotHandlerTest.java => SnapshotHandlerTest.java} | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/hugegraph-store/hg-store-test/src/main/java/org/apache/hugegraph/store/core/snapshot/HgSnapshotHandlerTest.java
 
b/hugegraph-store/hg-store-test/src/main/java/org/apache/hugegraph/store/core/snapshot/SnapshotHandlerTest.java
similarity index 91%
rename from 
hugegraph-store/hg-store-test/src/main/java/org/apache/hugegraph/store/core/snapshot/HgSnapshotHandlerTest.java
rename to 
hugegraph-store/hg-store-test/src/main/java/org/apache/hugegraph/store/core/snapshot/SnapshotHandlerTest.java
index ff5ef24ac..61f0f7aba 100644
--- 
a/hugegraph-store/hg-store-test/src/main/java/org/apache/hugegraph/store/core/snapshot/HgSnapshotHandlerTest.java
+++ 
b/hugegraph-store/hg-store-test/src/main/java/org/apache/hugegraph/store/core/snapshot/SnapshotHandlerTest.java
@@ -28,7 +28,7 @@ import java.util.Set;
 import org.apache.commons.io.FileUtils;
 import org.apache.hugegraph.store.core.StoreEngineTestBase;
 import org.apache.hugegraph.store.meta.Partition;
-import org.apache.hugegraph.store.snapshot.HgSnapshotHandler;
+import org.apache.hugegraph.store.snapshot.SnapshotHandler;
 import org.junit.Before;
 import org.junit.Test;
 
@@ -38,13 +38,13 @@ import 
com.alipay.sofa.jraft.storage.snapshot.SnapshotWriter;
 import com.google.protobuf.Message;
 
 
-public class HgSnapshotHandlerTest extends StoreEngineTestBase {
+public class SnapshotHandlerTest extends StoreEngineTestBase {
 
-    private static HgSnapshotHandler hgSnapshotHandlerUnderTest;
+    private static SnapshotHandler hgSnapshotHandlerUnderTest;
 
     @Before
     public void setUp() throws IOException {
-        hgSnapshotHandlerUnderTest = new 
HgSnapshotHandler(createPartitionEngine(0));
+        hgSnapshotHandlerUnderTest = new 
SnapshotHandler(createPartitionEngine(0));
         FileUtils.forceMkdir(new File("/tmp/snapshot"));
         FileUtils.forceMkdir(new File("/tmp/snapshot/data"));
     }
@@ -170,7 +170,7 @@ public class HgSnapshotHandlerTest extends 
StoreEngineTestBase {
 
     @Test
     public void testTrimStartPath() {
-        assertEquals("str", HgSnapshotHandler.trimStartPath("str", "prefix"));
+        assertEquals("str", SnapshotHandler.trimStartPath("str", "prefix"));
     }
 
     @Test
@@ -180,7 +180,7 @@ public class HgSnapshotHandlerTest extends 
StoreEngineTestBase {
         final File rootDir = new File("filename.txt");
 
         // Run the test
-        HgSnapshotHandler.findFileList(dir, rootDir, List.of("value"));
+        SnapshotHandler.findFileList(dir, rootDir, List.of("value"));
 
         // Verify the results
     }

Reply via email to