We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c01b8eb commit e2c3f68Copy full SHA for e2c3f68
tests/test_splunk_addon.py
@@ -551,7 +551,8 @@ def empty_method():
551
result.stdout.fnmatch_lines_random(
552
constants.TA_REQUIREMENTS_PASSED + constants.TA_REQUIREMENTS_FAILED
553
)
554
- result.assert_outcomes(passed=len(constants.TA_REQUIREMENTS_PASSED), failed=1)
+ result.assert_outcomes(passed=2*len(constants.TA_REQUIREMENTS_PASSED), failed=1)
555
+ # 2*TA_REQUIREMENTS_PASSED as the successful data comes from 2 sources (log & xml)
556
557
# make sure that that we get a non '0' exit code for the testsuite as it contains failure
558
assert result.ret != 0
0 commit comments