Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
Update for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrod1598 committed Sep 7, 2021
1 parent 3497b3f commit 2ad5b79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions operator/builtin/input/file/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ func TestMapStructureDecodeConfigWithHook(t *testing.T) {
"line_start_pattern": expect.Splitter.Multiline.LineStartPattern,
"line_end_pattern": expect.Splitter.Multiline.LineEndPattern,
},
"force_flush_period": "500ms",
"force_flush_period": 0.5,
"include_file_name": true,
"include_file_path": false,
"start_at": "end",
Expand Down Expand Up @@ -751,7 +751,7 @@ func TestMapStructureDecodeConfig(t *testing.T) {
"max_concurrent_files": 1024,
"encoding": "utf16",
"force_flush_period": map[string]interface{}{
"Duration": time.Millisecond * 500,
"Duration": 500 * 1000 * 1000,
},
}

Expand Down

0 comments on commit 2ad5b79

Please sign in to comment.