Skip to content

Commit

Permalink
Skip flaky test with oauth2 config in httpjson input (#21749) (#21765)
Browse files Browse the repository at this point in the history
(cherry picked from commit 32d4526)
  • Loading branch information
jsoriano authored Oct 14, 2020
1 parent 5e5c225 commit cc2f07b
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 cc2f07b

Please sign in to comment.