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

make the k6 runner timeout configurable #554

Merged
merged 4 commits into from
Nov 3, 2023

Conversation

rdubrock
Copy link
Contributor

@rdubrock rdubrock commented Nov 1, 2023

Right now the k6runner timeout is hardcoded to 10 seconds. This makes it reflect the check timeout.

Not sure this is the best approach

@rdubrock rdubrock requested a review from a team as a code owner November 1, 2023 20:14
mem added 3 commits November 3, 2023 12:52
When a prober is created it gets a context that has the check's timeout
added as the deadline for the context. The timeout is measured between
the point where the probe is started and the point where it finishes
running. For the MultiHTTP case, we _add_ the k6 start up time to that,
because this behavior is consistent with the way the other checks work.

Signed-off-by: Marcelo E. Magallon <[email protected]>
Signed-off-by: Marcelo E. Magallon <[email protected]>
@mem mem merged commit 9897391 into main Nov 3, 2023
2 checks passed
@mem mem deleted the make-multihttp-timeout-configurable branch November 3, 2023 21:24
mem added a commit that referenced this pull request Nov 7, 2023
* Feature: add k6 to docker image
* Fix: add k6 binary to release files
* Fix: add a `name` label to metrics
* Fix: make the k6 runner timeout configurable (#554)
* Add example configuration files for test-api (#557)
* Upgrade dependencies
* Fix RunRequest definition

Signed-off-by: Marcelo E. Magallon <[email protected]>
@mem mem mentioned this pull request Nov 7, 2023
mem added a commit that referenced this pull request Nov 7, 2023
* Feature: add k6 to docker image
* Fix: add k6 binary to release files
* Fix: add a `name` label to metrics
* Fix: make the k6 runner timeout configurable (#554)
* Add example configuration files for test-api (#557)
* Upgrade dependencies
* Fix RunRequest definition

Signed-off-by: Marcelo E. Magallon <[email protected]>
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