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

Reduce the amounts of log output when autify-cli runs a test execution. #377

Open
hgsgtk opened this issue Feb 7, 2023 · 1 comment
Open

Comments

@hgsgtk
Copy link
Member

hgsgtk commented Feb 7, 2023

When running a test that takes a few minutes, hundreds of lines of logs are output.
We want to consider a way to reduce the amount of log output. For example, it might be a good idea to write a log entry when the status of a test execution changes.

@riywo
Copy link
Contributor

riywo commented Feb 7, 2023

Another possibility is using AUTIFY_TEST_WAIT_INTERVAL_SECOND environment variable (or make it as a command line option) to extend the polling interval. Currently, it's 1 second by default to detect the end of test executions as quickly as possible. But CI workflow might be fine with 30 seconds or 1 minutes and the number of logs will be dropped, then.

https://github.com/autifyhq/autify-cli/blob/main/src/config.ts#L15

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

No branches or pull requests

2 participants