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

Parallel Execution : Log goes to wrong test #69

Closed
shiva4983 opened this issue Sep 26, 2022 · 5 comments
Closed

Parallel Execution : Log goes to wrong test #69

shiva4983 opened this issue Sep 26, 2022 · 5 comments

Comments

@shiva4983
Copy link

Hi Team,

When I do parallel execution with multiple projects. Logs are captured at the wrong test, if I try to add attachments to the log across multiple tests, It all gets added to a single test.

Please provide me a solution.

@AmsterGet
Copy link
Member

AmsterGet commented Sep 27, 2022

Hello @shiva4983 !
If I understood correctly, you are running the same tests in different projects, right?
What API are you using to report logs and attachments? I mean testInfo.attachments and console.log or ReportingAPI?

@shiva4983
Copy link
Author

shiva4983 commented Sep 27, 2022

Hi @AmsterGet , I am using ReportingAPI and even console.log is also not behaving as expected. I tried testInfo.attachments but I am not seeing any logs or attachment in the reportportal.

@AmsterGet
Copy link
Member

AmsterGet commented Sep 28, 2022

Hi @shiva4983 !
I've released the version 5.0.8 with fixes that might help you. Please try it.

@AmsterGet
Copy link
Member

Hi @shiva4983 !
Have you had a chance to try the latest version?

@AmsterGet
Copy link
Member

@shiva4983
I will close the issue. Feel free to reopen it if you run into a problem again.

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

No branches or pull requests

2 participants