Skip to content

Commit 525961c

Browse files
committed
fix loki-file test
1 parent 233dcc0 commit 525961c

1 file changed

Lines changed: 2 additions & 20 deletions

File tree

integration-tests/docker/tests/loki-file/loki_file_test.go

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,9 @@ func TestReadLogFile(t *testing.T) {
1313
t,
1414
common.ExpectedLogResult{
1515
Labels: map[string]string{
16-
"detected_level": "info",
16+
"filename": "/etc/alloy/logs.txt",
1717
},
18-
EntryCount: 9,
19-
},
20-
common.ExpectedLogResult{
21-
Labels: map[string]string{
22-
"detected_level": "debug",
23-
},
24-
EntryCount: 1,
25-
},
26-
common.ExpectedLogResult{
27-
Labels: map[string]string{
28-
"detected_level": "error",
29-
},
30-
EntryCount: 2,
31-
},
32-
common.ExpectedLogResult{
33-
Labels: map[string]string{
34-
"detected_level": "warn",
35-
},
36-
EntryCount: 1,
18+
EntryCount: 13,
3719
},
3820
)
3921
}

0 commit comments

Comments
 (0)