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

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git


The following commit(s) were added to refs/heads/main by this push:
     new 953137b7 Remove unnecessary SNP ID check in property UT (#818)
953137b7 is described below

commit 953137b72adac3908d698a087093e2a111d12124
Author: mrproliu <[email protected]>
AuthorDate: Mon Oct 20 13:15:08 2025 +0800

    Remove unnecessary SNP ID check in property UT (#818)
---
 banyand/property/repair_test.go | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/banyand/property/repair_test.go b/banyand/property/repair_test.go
index 0c379d05..3926d31d 100644
--- a/banyand/property/repair_test.go
+++ b/banyand/property/repair_test.go
@@ -139,10 +139,6 @@ func TestBuildTree(t *testing.T) {
                        nextStatusVerify: func(t *testing.T, _ *shard, before, 
after *repairData) {
                                basicStatusVerify(t, before, defaultGroupName, 
1)
                                basicStatusVerify(t, after, defaultGroupName, 1)
-                               if before.LastSnpID != after.LastSnpID {
-                                       t.Fatalf("expected last snapshot ID to 
be the same, got before: %d, after: %d",
-                                               before.LastSnpID, 
after.LastSnpID)
-                               }
                                if before.readTree(t, 
defaultGroupName).root.shaValue != after.readTree(t, 
defaultGroupName).root.shaValue {
                                        t.Fatalf("expected Root sha value to be 
the same, got before: %s, after: %s",
                                                before.readTree(t, 
defaultGroupName).root.shaValue, after.readTree(t, 
defaultGroupName).root.shaValue)

Reply via email to