e2e: kkkk
This commit is contained in:
parent
0fe6cd4125
commit
43fccb3cdf
|
@ -59,6 +59,7 @@ pipeline {
|
|||
sh """
|
||||
python3 -m pytest \
|
||||
--numprocesses 9 \
|
||||
--dist loadgroup \
|
||||
--rerun_count=2 \
|
||||
--testrail_report=True \
|
||||
-m testrail_id \
|
||||
|
|
|
@ -100,6 +100,7 @@ pipeline {
|
|||
--numprocesses 9 \
|
||||
--rerun_count=2 \
|
||||
--testrail_report=True \
|
||||
--dist loadgroup \
|
||||
-m \"${params.TEST_MARKERS}\" \
|
||||
-k \"${params.KEYWORD_EXPRESSION}\" \
|
||||
--apk=${params.APK_NAME} \
|
||||
|
|
|
@ -292,6 +292,8 @@ def pytest_runtest_protocol(item, nextitem):
|
|||
for i in range(rerun_count):
|
||||
reports = runtestprotocol(item, nextitem=nextitem)
|
||||
for report in reports:
|
||||
# is_in_group = [i for i in item.iter_markers(name='xdist_group')]
|
||||
# if report.failed and should_rerun_test(report.longreprtext) and not is_in_group:
|
||||
if report.failed and should_rerun_test(report.longreprtext):
|
||||
break # rerun
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue