This is an automated email from the ASF dual-hosted git repository. hanahmily pushed a commit to branch feat/segmeta in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
commit c11c60eaa7bdc1bfa6b3d170c86c474e4c8c882b Author: Hongtao Gao <[email protected]> AuthorDate: Tue Apr 7 01:28:22 2026 +0000 fix(storage): check json.Marshal error returns in test --- banyand/internal/storage/segment_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/banyand/internal/storage/segment_test.go b/banyand/internal/storage/segment_test.go index a8a163430..e2ad751c8 100644 --- a/banyand/internal/storage/segment_test.go +++ b/banyand/internal/storage/segment_test.go @@ -762,7 +762,7 @@ func TestOpenReadsPersistedEndTime(t *testing.T) { require.NoError(t, os.MkdirAll(segPath1, DirPerm)) meta1 := segmentMeta{Version: currentVersion, EndTime: customEnd.Format(time.RFC3339Nano)} meta1Data, marshalErr := json.Marshal(meta1) - require.NoError(t, marshalErr) + require.NoError(t, marshalErr) require.NoError(t, os.WriteFile(filepath.Join(segPath1, metadataFilename), meta1Data, FilePerm)) // day2 with standard endTime.
