Skip to content

Commit

Permalink
disable flakey grok test for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ssoroka committed Dec 10, 2020
1 parent 6062265 commit a96c8b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/parsers/grok/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1117,14 +1117,15 @@ func TestTrimRegression(t *testing.T) {
}

func TestAdvanceFieldName(t *testing.T) {
t.Skip("waiting for grok package fix")
p := &Parser{
Patterns: []string{`rts=%{NUMBER:response-time.s} local=%{IP:local-ip} remote=%{IP:remote.ip}`},
}
assert.NoError(t, p.Compile())

metricA, err := p.ParseLine(`rts=1.283 local=127.0.0.1 remote=10.0.0.1`)
require.NotNil(t, metricA)
assert.NoError(t, err)
require.NotNil(t, metricA)
assert.Equal(t,
map[string]interface{}{
"response-time.s": "1.283",
Expand Down

0 comments on commit a96c8b4

Please sign in to comment.