Skip to content

Commit 7bdc3f4

Browse files
committed
fix(test): Remove ps.child.uuid from test rule expression
1 parent 426119a commit 7bdc3f4

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

pkg/filter/ql/parser_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ package ql
2020

2121
import (
2222
"errors"
23+
"testing"
24+
"time"
25+
2326
"github.com/rabbitstack/fibratus/pkg/config"
2427
"github.com/rabbitstack/fibratus/pkg/filter/fields"
2528
"github.com/stretchr/testify/assert"
2629
"github.com/stretchr/testify/require"
27-
"testing"
28-
"time"
2930
)
3031

3132
func TestParser(t *testing.T) {
@@ -353,7 +354,7 @@ func TestParseSequence(t *testing.T) {
353354

354355
`by ps.uuid
355356
maxspan 2m
356-
|evt.name = 'CreateProcess'| by ps.child.uuid
357+
|evt.name = 'CreateProcess'| by ps.uuid
357358
|evt.name = 'CreateFile'| by ps.uuid
358359
`,
359360
errors.New("sequence mixes global and per-expression 'by' statements"),

0 commit comments

Comments
 (0)