Skip to content

Commit

Permalink
Skip flaky test with oauth2 config in httpjson input (elastic#21749) (e…
Browse files Browse the repository at this point in the history
…lastic#21764)

(cherry picked from commit 32d4526)
  • Loading branch information
jsoriano authored Oct 14, 2020
1 parent 41d7838 commit d10e9be
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 d10e9be

Please sign in to comment.