Skip to content

Commit

Permalink
removing flakey regex test
Browse files Browse the repository at this point in the history
  • Loading branch information
ShourieG committed Feb 12, 2024
1 parent ff927c9 commit 234d5de
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions x-pack/filebeat/input/websocket/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,6 @@ var configTests = []struct {
},
wantErr: fmt.Errorf("failed to check program: failed compilation: ERROR: <input>:3:79: found no matching overload for '_?_:_' applied to '(bool, list(dyn), null)'\n | \"events\": has(state.cursor) && inner_body.ts > state.cursor.last_updated ? \n | ..............................................................................^ accessing config"),
},
{
name: "invalid_regexps",
config: map[string]interface{}{
"regexp": map[string]interface{}{
"products": "(?i)(xq>)d+)",
"solutions": "(?)(Sws>(d+)",
},
"url": "wss://localhost:443/v1/stream",
},
wantErr: fmt.Errorf("failed to check regular expressions: error parsing regexp: unexpected ): `(?i)(xq>)d+)` accessing config"),
},
{
name: "valid_regexps",
config: map[string]interface{}{
Expand Down

0 comments on commit 234d5de

Please sign in to comment.