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

hanahmily 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 74187c399 Make dump CI more stable (#1186)
74187c399 is described below

commit 74187c3994a432f475e806ec5c1dc7bf4a19bbfe
Author: mrproliu <[email protected]>
AuthorDate: Mon Jun 22 12:12:10 2026 +0800

    Make dump CI more stable (#1186)
---
 banyand/internal/dump/measure/suite_test.go | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/banyand/internal/dump/measure/suite_test.go 
b/banyand/internal/dump/measure/suite_test.go
index 1e2264880..b0b28271b 100644
--- a/banyand/internal/dump/measure/suite_test.go
+++ b/banyand/internal/dump/measure/suite_test.go
@@ -351,12 +351,6 @@ func TestMeasureIndexedTagResolvedFromIndex(t *testing.T) {
        }
        strRuleID, intRuleID, arrRuleID := ruleID("idxr_str_rule"), 
ruleID("idxr_int_rule"), ruleID("idxr_arr_rule")
 
-       // Stop the live service so it releases bluge's exclusive lock on the 
series
-       // index; the dump (like the offline CLI) reads the index from a 
quiesced
-       // database. Deferred cleanup is suppressed via the stopped flag.
-       moduleDefer()
-       stopped = true
-
        segmentPath := findSidxSegmentPath(t, rootPath)
 
        // The series index persists asynchronously (unsafe batches + 
persister) and is
@@ -370,6 +364,12 @@ func TestMeasureIndexedTagResolvedFromIndex(t *testing.T) {
                return count >= int64(total)
        }, 60*time.Second, 100*time.Millisecond, "series index not fully 
persisted after stop")
 
+       // Stop the live service so it releases bluge's exclusive lock on the 
series
+       // index; the dump (like the offline CLI) reads the index from a 
quiesced
+       // database. Deferred cleanup is suppressed via the stopped flag.
+       moduleDefer()
+       stopped = true
+
        ruleToTag := map[uint32]dump.IndexedTagSpec{
                strRuleID: {Family: "default", Name: "idxStr", Type: 
pbv1.ValueTypeStr},
                intRuleID: {Family: "default", Name: "idxInt", Type: 
pbv1.ValueTypeInt64},

Reply via email to