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(testrunner): include fixture teardown into timeout, add global ti… #3685

Merged
merged 1 commit into from
Aug 29, 2020

Conversation

pavelfeldman
Copy link
Member

…meout

await this.resolveParametersAndRun(fn, info.config, info);
info.result.status = 'passed';
} catch (error) {
info.result.status = 'failed';
Copy link
Contributor

Choose a reason for hiding this comment

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

if (info.result.status === 'passed') info.result.status = 'failed'; to guard against failures after timeout changing the result.

Copy link
Member Author

Choose a reason for hiding this comment

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

We are reporting immediately after the timeout, but sure.

await this.teardownScope('test');
} catch (error) {
info.result.status = 'failed';
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here.

@pavelfeldman pavelfeldman force-pushed the timeoutt branch 3 times, most recently from 292505a to 3f72c44 Compare August 29, 2020 01:57
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