We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Same error as was discussed here #745 but with small example.
It crashed with exception on joining junit logs files in the end of running tests.
If assert is enabled: PHP Fatal error: Uncaught AssertionError: assert($logFile->isFile() && 0 < (int)$logFile->getSize()) in /var/www/vendor/brianium/paratest/src/JUnit/TestSuite.php:41 Stack trace: #0 /var/www/vendor/brianium/paratest/src/JUnit/TestSuite.php(41): assert() #1 /var/www/vendor/brianium/paratest/src/JUnit/LogMerger.php(29): ParaTest\JUnit\TestSuite::fromFile() #2 /var/www/vendor/brianium/paratest/src/WrapperRunner/WrapperRunner.php(346): ParaTest\JUnit\LogMerger->merge()
PHP Fatal error: Uncaught AssertionError: assert($logFile->isFile() && 0 < (int)$logFile->getSize()) in /var/www/vendor/brianium/paratest/src/JUnit/TestSuite.php:41 Stack trace: #0 /var/www/vendor/brianium/paratest/src/JUnit/TestSuite.php(41): assert() #1 /var/www/vendor/brianium/paratest/src/JUnit/LogMerger.php(29): ParaTest\JUnit\TestSuite::fromFile() #2 /var/www/vendor/brianium/paratest/src/WrapperRunner/WrapperRunner.php(346): ParaTest\JUnit\LogMerger->merge()
if not ex. occurs later:
String could not be parsed as XML ...vendor/brianium/paratest/src/JUnit/TestSuite.php:51
Reproducible env/error: https://github.com/pistej/parates-bug
I expect junit logs to be merged and report.xml created.
The text was updated successfully, but these errors were encountered:
--functional
thx 🥇 @Slamdunk
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Summary
Same error as was discussed here #745 but with small example.
Current behavior
It crashed with exception on joining junit logs files in the end of running tests.
If assert is enabled:
PHP Fatal error: Uncaught AssertionError: assert($logFile->isFile() && 0 < (int)$logFile->getSize()) in /var/www/vendor/brianium/paratest/src/JUnit/TestSuite.php:41 Stack trace: #0 /var/www/vendor/brianium/paratest/src/JUnit/TestSuite.php(41): assert() #1 /var/www/vendor/brianium/paratest/src/JUnit/LogMerger.php(29): ParaTest\JUnit\TestSuite::fromFile() #2 /var/www/vendor/brianium/paratest/src/WrapperRunner/WrapperRunner.php(346): ParaTest\JUnit\LogMerger->merge()
if not ex. occurs later:
String could not be parsed as XML ...vendor/brianium/paratest/src/JUnit/TestSuite.php:51
How to reproduce: command, code and error stack trace
Reproducible env/error: https://github.com/pistej/parates-bug
Expected behavior
I expect junit logs to be merged and report.xml created.
The text was updated successfully, but these errors were encountered: