[#311] add new pattern #311
1 changed files with 11 additions and 1 deletions
|
@ -31,7 +31,17 @@ class TestLogs:
|
||||||
if not os.path.exists(logs_dir):
|
if not os.path.exists(logs_dir):
|
||||||
os.makedirs(logs_dir)
|
os.makedirs(logs_dir)
|
||||||
|
|
||||||
issues_regex = r"\bpanic\b|\boom\b|too many|insufficient funds|insufficient amount of gas|cannot assign requested address|\bunable to process\b"
|
regexes = [
|
||||||
|
r"\bpanic\b",
|
||||||
|
r"\boom\b",
|
||||||
|
r"too many",
|
||||||
|
r"insufficient funds",
|
||||||
|
r"insufficient amount of gas",
|
||||||
|
r"cannot assign requested address",
|
||||||
|
r"\bunable to process\b",
|
||||||
|
r"\bmaximum number of subscriptions is reached\b",
|
||||||
|
]
|
||||||
|
issues_regex = "|".join(regexes)
|
||||||
exclude_filter = r"too many requests"
|
exclude_filter = r"too many requests"
|
||||||
log_level_priority = "3" # will include 0-3 priority logs (0: emergency 1: alerts 2: critical 3: errors)
|
log_level_priority = "3" # will include 0-3 priority logs (0: emergency 1: alerts 2: critical 3: errors)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue