diff --git a/internal/component/prometheus/write/queue/e2e_test.go b/internal/component/prometheus/write/queue/e2e_test.go index cd27669cc..634f48f60 100644 --- a/internal/component/prometheus/write/queue/e2e_test.go +++ b/internal/component/prometheus/write/queue/e2e_test.go @@ -90,6 +90,7 @@ func TestE2E(t *testing.T) { t.Helper() for i := 0; i < samples.Len(); i++ { s := samples.Get(i) + require.True(t, len(s.Samples) == 0) require.True(t, len(s.Labels) == 1) histSame(t, hist(int(s.Histograms[0].Sum)), s.Histograms[0]) } @@ -107,6 +108,7 @@ func TestE2E(t *testing.T) { t.Helper() for i := 0; i < samples.Len(); i++ { s := samples.Get(i) + require.True(t, len(s.Samples) == 0) require.True(t, len(s.Labels) == 1) histFloatSame(t, histFloat(int(s.Histograms[0].Sum)), s.Histograms[0]) }