-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
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
Last batch logs missing when using xdist #226
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running test execution with xdist, the last batch of logs is not appearing in the UI
pytest-reportportal 5.3.0
reportportal-client 5.5.3
In the implementation of pytest_sessionfinish in the plugin, last batch is being flushed only in the controller's finish_launch() method (which is make sense) and the service in each worker is stopped without performing last batch flushing. So in case, the worker has not flushed logs (due to batch size didn't reach max), those logs are not being sent to server and lost.
The text was updated successfully, but these errors were encountered: