Skip to content

Commit

Permalink
remove check
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdurham committed Oct 29, 2024
1 parent 13da78a commit 39879a1
Showing 1 changed file with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,14 @@ import (
"testing"
"time"

"github.com/vladopajic/go-actor/actor"
"go.uber.org/goleak"

"github.com/grafana/alloy/internal/component/prometheus/write/queue/types"
"github.com/vladopajic/go-actor/actor"

"github.com/go-kit/log"
"github.com/stretchr/testify/require"
)

func TestFileQueue(t *testing.T) {
defer goleak.VerifyNone(t)
dir := t.TempDir()
log := log.NewNopLogger()
mbx := actor.NewMailbox[types.DataHandle]()
Expand Down Expand Up @@ -50,8 +47,6 @@ func TestFileQueue(t *testing.T) {
}

func TestMetaFileQueue(t *testing.T) {
defer goleak.VerifyNone(t)

dir := t.TempDir()
log := log.NewNopLogger()
mbx := actor.NewMailbox[types.DataHandle]()
Expand All @@ -74,8 +69,6 @@ func TestMetaFileQueue(t *testing.T) {
}

func TestCorruption(t *testing.T) {
defer goleak.VerifyNone(t)

dir := t.TempDir()
log := log.NewNopLogger()
mbx := actor.NewMailbox[types.DataHandle]()
Expand Down Expand Up @@ -117,8 +110,6 @@ func TestCorruption(t *testing.T) {
}

func TestFileDeleted(t *testing.T) {
defer goleak.VerifyNone(t)

dir := t.TempDir()
log := log.NewNopLogger()
mbx := actor.NewMailbox[types.DataHandle]()
Expand Down Expand Up @@ -163,8 +154,6 @@ func TestFileDeleted(t *testing.T) {
}

func TestOtherFiles(t *testing.T) {
defer goleak.VerifyNone(t)

dir := t.TempDir()
log := log.NewNopLogger()
mbx := actor.NewMailbox[types.DataHandle]()
Expand All @@ -186,8 +175,6 @@ func TestOtherFiles(t *testing.T) {
}

func TestResuming(t *testing.T) {
defer goleak.VerifyNone(t)

dir := t.TempDir()
log := log.NewNopLogger()
mbx := actor.NewMailbox[types.DataHandle]()
Expand Down

0 comments on commit 39879a1

Please sign in to comment.