Skip to content

Commit

Permalink
chore: use options
Browse files Browse the repository at this point in the history
  • Loading branch information
VihasMakwana committed Dec 16, 2024
1 parent d2b22c2 commit 13ba0c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions testbed/datasenders/stanza.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ func (f *FileLogWriter) GenConfigYAMLStr() string {
// We are testing stanza receiver here.
return fmt.Sprintf(`
filelog:
retry_on_failure:
enabled: true
include: [ %s ]
start_at: beginning
operators:
Expand Down
5 changes: 4 additions & 1 deletion testbed/tests/log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,10 @@ func TestMemoryLimiterHit(t *testing.T) {
{
name: "filelog",
sender: func() testbed.DataSender {
return datasenders.NewFileLogWriter()
return datasenders.NewFileLogWriter().WithRetry(`
retry_on_failure:
enabled: true
`)
},
},
}
Expand Down

0 comments on commit 13ba0c9

Please sign in to comment.