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

WIP: Wait for workers before starting master #32

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thiagoarrais
Copy link
Contributor

This PR modifies the launcher script to wait for the workers to become online before starting the JMeter master. It depends on hellofresh/kangal#368 that introduces a WORKER_TOTAL environment variable specifying the number of expected workers.

This should fix hellofresh/kangal#332. It should also fix the related problem of repeated master output on the pod logs caused by cating the output inside the wait loop. When there wasn't any worker, JMeter wouldn't finish and every check for completion would spit the same output over and over again.

Marked as WIP for depending on a not yet merged PR

...before starting master process

Part of the fix for hellofresh/kangal#332
@thiagoarrais thiagoarrais marked this pull request as draft September 17, 2024 16:43
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.

Kangal 1.6.1 K8s 1.24 race condition jmeter master/worker
1 participant