Skip to content

Commit

Permalink
Skip flaky test with oauth2 config in httpjson input (#21749)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano authored Oct 13, 2020
1 parent 056f0e0 commit 32d4526
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/filebeat/input/httpjson/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ func TestConfigOauth2Validation(t *testing.T) {
"url": "localhost",
},
},
/* Flaky test: https://github.com/elastic/beats/issues/21748
{
name: "date_cursor.date_format will fail if invalid",
expectedErr: "invalid configuration: date_format is not a valid date layout accessing 'date_cursor'",
Expand All @@ -370,6 +371,7 @@ func TestConfigOauth2Validation(t *testing.T) {
"url": "localhost",
},
},
*/
{
name: "date_cursor must work with a valid date_format",
input: map[string]interface{}{
Expand Down

0 comments on commit 32d4526

Please sign in to comment.