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

To short timeout for generateReport method. #59

Closed
1 of 3 tasks
Coder1304 opened this issue Oct 17, 2018 · 4 comments · Fixed by #60
Closed
1 of 3 tasks

To short timeout for generateReport method. #59

Coder1304 opened this issue Oct 17, 2018 · 4 comments · Fixed by #60

Comments

@Coder1304
Copy link
Contributor

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

For large amount of test results, allure framework generates report longer than 60 sec which cause timeout of ExecuteWatchdog. Allure framework process is killed and report is only partially generated. Exception is thrown:

[ERROR] Can't generate allure report data
org.apache.commons.exec.ExecuteException: Process exited with an error: 143 (Exit value: 143)

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

To reproduce the bug you have to generate large amount of data for allure framework. For example: web application tests which stores each send and received messages.

What is the expected behavior?

Timeout for AllureCommandline::generateReport should be configurable just like in case of AllureCommandline::serve.

What is the motivation / use case for changing the behavior?

Fix the malfunction of the main functionality.

Please tell us about your environment:

Other information

@korobochka
Copy link
Contributor

+1, this completely blocks us from using allure-maven plugin in production.

@baev
Copy link
Member

baev commented Oct 19, 2018

@korobochka could you please submit a pull request with the fix?

@korobochka
Copy link
Contributor

Do you want the timeout to be separate from serveTimeout? I think it does not really make sense to have two, I'd rename serveTimeout -> timeout and use it for both generate and serve.

@Coder1304
Copy link
Contributor Author

@korobochka I am OK with that. This will require update of configuration for serve users but I think it's low cost.

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

Successfully merging a pull request may close this issue.

3 participants