Skip to content

Commit 77191ab

Browse files
authored
Switch assert to required
1 parent 53692ff commit 77191ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

testing/integration/ess/beat_receivers_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ agent.monitoring.enabled: false
777777
require.EventuallyWithT(t, func(collect *assert.CollectT) {
778778
var statusErr error
779779
status, statusErr := fixture.ExecStatus(ctx)
780-
assert.NoError(collect, statusErr)
780+
require.NoError(collect, statusErr)
781781
assertBeatsReady(collect, &status, component.ProcessRuntimeManager)
782782
return
783783
}, 2*time.Minute, 5*time.Second)
@@ -789,7 +789,7 @@ agent.monitoring.enabled: false
789789
require.EventuallyWithT(t, func(collect *assert.CollectT) {
790790
var statusErr error
791791
status, statusErr := fixture.ExecStatus(ctx)
792-
assert.NoError(collect, statusErr)
792+
require.NoError(collect, statusErr)
793793
assertBeatsReady(collect, &status, component.OtelRuntimeManager)
794794
return
795795
}, 2*time.Minute, 5*time.Second)

0 commit comments

Comments
 (0)