Skip to content
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

attachments are not arriving to reportportal and new messages are not arriving after attachment attempt #180

Closed
iShimon opened this issue Apr 25, 2022 · 1 comment
Assignees
Labels

Comments

@iShimon
Copy link

iShimon commented Apr 25, 2022

sending attachment to log is not flushed and log data stops arriving to reportportal

I have tested it in my environment with pytest-reportportal ==5.1.0 and reportportal-client == 5.2.0

sent the following line :
log.info('test.json', attachment={"data": '[{"test": "id"}]', "mime": "application/json"})
after trying to send an attachment no more logs are arriving to reportportal in the current session
this works if using pytest-reportportal ==5.0.12

i didn't noticed any error in logs or exception so my guess this is something related to flushing messages to reportportal

@iShimon iShimon added the bug label Apr 25, 2022
@HardNorth HardNorth self-assigned this Apr 25, 2022
@HardNorth HardNorth transferred this issue from reportportal/agent-python-pytest Apr 25, 2022
HardNorth added a commit that referenced this issue Apr 26, 2022
HardNorth added a commit that referenced this issue Apr 26, 2022
HardNorth added a commit that referenced this issue Apr 26, 2022
@HardNorth
Copy link
Member

Fixed in: https://github.com/reportportal/client-Python/releases/tag/5.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants