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

Acto early-stopping controller #386

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

RenZhou0327
Copy link
Contributor

Description
We implemented a feature that can early stopping the running stage of Acto tests. We suppport presetting the number of alarms and running time arguments as the condition to early stopping test. For running time bound, we support soft bound and hard bound. Soft bound will stopping test after current runnning trial ends, while hard bound will kill running threads directly if reaching the time bound.

Example

  1. Using the number of alarms: python3 -m acto --config data/elasticcloud-on-k8s-operator --num-workers 4 --num-alarms 5
  2. Using the soft time bound: python3 -m acto --config data/elastic-cloud-on-k8s-operator --num-workers 4 --time-duration 60
  3. Using the hard time bound: python3 -m acto --config data/elasticcloud-on-k8s-operator --num-workers 4 --time-duration 60 --hard-time-bound

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 this pull request may close these issues.

2 participants