Skip to content

[WDIO8] added supressing for runner's deleteSession#14166

Merged
christian-bromann merged 1 commit intov8from
feat/deletesession_supression_v8
Feb 7, 2025
Merged

[WDIO8] added supressing for runner's deleteSession#14166
christian-bromann merged 1 commit intov8from
feat/deletesession_supression_v8

Conversation

@udarrr
Copy link
Member

@udarrr udarrr commented Feb 7, 2025

Proposed changes

Until runner close worker, there is attempt to delete session in the end of worker's execution but if the session has been closed already for some reason whole execution is failed even though all tests are passed. I'd suggest to suppress delete session error as it's just finalizing step and don't relate to tests results

I'd suggest to change err.stack to err.message cause err.stack is redundant, there are lots of reference to internal libs no sure how it's helpful but looking like something important happened

@udarrr udarrr changed the title added supressing for runner's deleteSession [WDIO8] added supressing for runner's deleteSession Feb 7, 2025
Copy link
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@christian-bromann christian-bromann added the PR: Polish 💅 PRs that contain improvements on existing features label Feb 7, 2025
@christian-bromann christian-bromann merged commit acbd06b into v8 Feb 7, 2025
6 of 8 checks passed
@christian-bromann christian-bromann deleted the feat/deletesession_supression_v8 branch February 7, 2025 18:38
@wdio-bot
Copy link
Contributor

wdio-bot commented Feb 7, 2025

Hey udarrr 👋

Thank you for your contribution to WebdriverIO! Your pull request has been marked as an "Expensable" contribution.

We've sent you an email with further instructions on how to claim your expenses from our development fund.
Please make sure to check your spam folder as well. If you have any questions, feel free to reach out to us at expense@webdriver.io or in the contributing channel on Discord.

We are looking forward to more contributions from you in the future 🙌

Have a nice day,
The WebdriverIO Team 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Expensable $15 💸 PR: Polish 💅 PRs that contain improvements on existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants