Skip to content

Commit 0b5a50c

Browse files
fix: Updated search query for untokenized events test case
1 parent 1eec65a commit 0b5a50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_splunk_addon/standard_lib/addon_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test_events_with_untokenised_values(
5050
record_property (fixture): Document facts of test cases.
5151
5252
"""
53-
query = f"search index=* ##*## | stats count by source, sourcetype"
53+
query = f"""search index=* | regex "##[a-zA-Z0-9_-]+##" | stats count by source, sourcetype"""
5454
record_property("Query", query)
5555
results = list(
5656
splunk_search_util.getFieldValuesList(

0 commit comments

Comments
 (0)