From 30ccf5172c16005ad1d7d3c548bb6f6b9666e481 Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Fri, 27 Jun 2025 09:55:01 -0400 Subject: [PATCH] chore(util/arrowtest): export arrowtest package (#18255) --- pkg/dataobj/sections/logs/reader_test.go | 2 +- pkg/dataobj/sections/streams/reader_test.go | 2 +- pkg/{dataobj/internal => }/util/arrowtest/arrowtest.go | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename pkg/{dataobj/internal => }/util/arrowtest/arrowtest.go (100%) diff --git a/pkg/dataobj/sections/logs/reader_test.go b/pkg/dataobj/sections/logs/reader_test.go index 58da51abe3..c59f6ffb18 100644 --- a/pkg/dataobj/sections/logs/reader_test.go +++ b/pkg/dataobj/sections/logs/reader_test.go @@ -16,8 +16,8 @@ import ( "github.com/stretchr/testify/require" "github.com/grafana/loki/v3/pkg/dataobj" - "github.com/grafana/loki/v3/pkg/dataobj/internal/util/arrowtest" "github.com/grafana/loki/v3/pkg/dataobj/sections/logs" + "github.com/grafana/loki/v3/pkg/util/arrowtest" ) // TestReader does a basic end-to-end test over a reader with a predicate applied. diff --git a/pkg/dataobj/sections/streams/reader_test.go b/pkg/dataobj/sections/streams/reader_test.go index 06faffbdad..5c20a5448f 100644 --- a/pkg/dataobj/sections/streams/reader_test.go +++ b/pkg/dataobj/sections/streams/reader_test.go @@ -12,8 +12,8 @@ import ( "github.com/apache/arrow-go/v18/arrow/scalar" "github.com/stretchr/testify/require" - "github.com/grafana/loki/v3/pkg/dataobj/internal/util/arrowtest" "github.com/grafana/loki/v3/pkg/dataobj/sections/streams" + "github.com/grafana/loki/v3/pkg/util/arrowtest" ) func TestReader(t *testing.T) { diff --git a/pkg/dataobj/internal/util/arrowtest/arrowtest.go b/pkg/util/arrowtest/arrowtest.go similarity index 100% rename from pkg/dataobj/internal/util/arrowtest/arrowtest.go rename to pkg/util/arrowtest/arrowtest.go