forked from TrueCloudLab/frostfs-testcases
[#208] Tune sanity mark and log checker
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
3387f88ea2
commit
b1cb86e360
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ SERVICE_ACTIVE_TIME = 20
|
|||
# Add logs check test even if it's not fit to mark selectors
|
||||
def pytest_configure(config: pytest.Config):
|
||||
markers = config.option.markexpr
|
||||
if markers != "":
|
||||
if markers != "" and "sanity" not in markers:
|
||||
config.option.markexpr = f"logs_after_session or ({markers})"
|
||||
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ class TestLogs:
|
|||
logs_dir = os.path.join(temp_directory, "logs")
|
||||
os.makedirs(logs_dir)
|
||||
# Using \b here because 'oom' and 'panic' can sometimes be found in OID or CID
|
||||
issues_regex = r"\bpanic\b|\boom\b|too many|insufficient funds|insufficient amount of gas|wallet passwd|secret \bkey\b|access key|cannot assign requested address"
|
||||
issues_regex = r"\bpanic\b|\boom\b|too many|insufficient funds|insufficient amount of gas|wallet passwd|secret \bkey\b|access \bkey\b|cannot assign requested address"
|
||||
exclude_filter = r"too many requests"
|
||||
|
||||
time.sleep(2)
|
||||
|
|
Loading…
Reference in a new issue