Hi all,
We have a situation where a pipeline step is passing even though Bitbucket detects failing tests for that step.
The step summary says "1 / 1894 tests failed", the console log has a "Tests" tab on it which shows the failing test and the build teardown log shows "Merged test suites, total number tests is 1894, with 1 failures and 0 errors." but the step is still green.
If it makes a difference we write our test results to a file called test-reports/results.xml. though I notice the teardown log says "Searching for test report files in directories named [test-results, failsafe-reports, test-reports, TestResults, surefire-reports]". Does anyone know if the folder name makes a difference ?
Does anyone have any idea what our problem might be ? Or is it a bug with Bitbucket Pipelines ?