Skip to content

Commit

Permalink
test(ch-logql-compliance): add OR lip line filter test
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Jul 4, 2024
1 parent 30d395b commit ca2673b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev/local/ch-logql-compliance/logql-test-queries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ test_cases:
- query: '{job="varlogs"} != "HEAD" or "GET"'
# IP line filter.
- query: '{job="varlogs"} |= ip("127.0.0.1")'
- query: '{job="varlogs"} |= ip("127.0.0.1") or ip("192.168.1.0/24")'
- query: '{job="varlogs"} != ip("127.0.0.1")'
should_be_empty: true
- query: '{job="varlogs"} |= ip("127.0.0.0/24")'
Expand Down

0 comments on commit ca2673b

Please sign in to comment.