Skip to content

Commit

Permalink
Update integration_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
spiffyy99 committed Jan 9, 2025
1 parent 9ba17d8 commit 0c17270
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion receiver/dockerstatsreceiver/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ package dockerstatsreceiver

import (
"context"
"fmt"
"testing"
"time"

Expand Down Expand Up @@ -220,7 +221,7 @@ func TestContainerLifecycleEventsIntegration(t *testing.T) {
// no events should be received before container starts
assert.Never(t, func() bool {
return len(consumer.AllLogs()) > 0
}, 5*time.Second, 1*time.Second, "received unexpected events")
}, 5*time.Second, 1*time.Second, fmt.Sprintf("received unexpected events: %v", consumer.AllLogs()))

nginxContainer := createNginxContainer(ctx, t)
nginxID := nginxContainer.GetContainerID()
Expand Down

0 comments on commit 0c17270

Please sign in to comment.