This is an automated email from the ASF dual-hosted git repository. mrproliu pushed a commit to branch ci-stable in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
commit 3ab1ccd9f95bd3b398afc0fac1b1ac96aa97b288 Author: mrproliu <[email protected]> AuthorDate: Mon Jun 22 10:29:06 2026 +0800 Make dump CI more stable --- 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},
