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 emission of ws_session_duration when setup throws an error #2767

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

imiric
Copy link
Contributor

@imiric imiric commented Nov 11, 2022

Closes #2734

This only fixes the issue, but see #2768 for some related refactoring of WS.Connect().

Copy link
Contributor

@codebien codebien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks 🙇

Copy link
Member

@oleiade oleiade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏🏻

@imiric imiric merged commit 597c11d into master Nov 14, 2022
@imiric imiric deleted the fix/2734-ws-sessionduration branch November 14, 2022 10:20
@olegbespalov olegbespalov added this to the v0.42.0 milestone Nov 15, 2022
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.

k6/ws: connect doesn't emit wssessionduration on exception in setup
4 participants