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

Fix race condition in ramping-vus tests #3760

Merged
merged 1 commit into from
May 29, 2024
Merged

Fix race condition in ramping-vus tests #3760

merged 1 commit into from
May 29, 2024

Conversation

mstoykov
Copy link
Contributor

@mstoykov mstoykov commented May 29, 2024

What?

Fix race conditions in ramping-vus tests

See https://github.com/grafana/k6/actions/runs/9283064573/job/25542459831 failure

Why?

During #3470 some sub tests were added and they access the same variable from the not sub test.

This obviously is a race condition that nobody noticed.

Checklist

  • I have performed a self-review of my code.
  • I have added tests for my changes.
  • I have run linter locally (make lint) and all checks pass.
  • I have run tests locally (make tests) and all tests pass.
  • I have commented on my code, particularly in hard-to-understand areas.

Related PR(s)/Issue(s)

During #3470 some sub tests were added and they access the same variable
from the not sub test.

This obviously is a race condition that nobody noticed.
@mstoykov mstoykov added the tests label May 29, 2024
@mstoykov mstoykov requested a review from a team as a code owner May 29, 2024 09:15
@mstoykov mstoykov requested review from olegbespalov and joanlopez and removed request for a team May 29, 2024 09:15
@mstoykov mstoykov added this to the v0.52.0 milestone May 29, 2024
@mstoykov mstoykov merged commit 93649df into master May 29, 2024
22 checks passed
@mstoykov mstoykov deleted the fixRaceInTest branch May 29, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants