Skip to content

Commit

Permalink
debugging test
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonQ committed Sep 14, 2023
1 parent bd36a80 commit e131086
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions libbeat/tests/system/beat/beat.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,9 @@ def extract_fields(doc_list, name):
if doc_list is None:
return fields, dictfields, aliases

print("===================================================================================================")
print("doc_list:", doc_list)
print("===================================================================================================")
for field in doc_list:

# Skip fields without name entry
Expand Down Expand Up @@ -717,6 +720,10 @@ def extract_fields(doc_list, name):
if not os.path.isfile(path):
path = os.path.abspath(os.path.dirname(
__file__) + "../../../../_meta/fields.common.yml")

print( "=================================================================================================")
print("path:", path)
print( "=================================================================================================")
with open(path, encoding="utf-8") as f2:
content = f2.read()

Expand Down

0 comments on commit e131086

Please sign in to comment.