Skip to content

Tests: Make Karma browser timeout larger than the QUnit one #4943

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

Merged
merged 1 commit into from
Oct 29, 2021

Conversation

mgol
Copy link
Member

@mgol mgol commented Sep 29, 2021

Summary

Since the default Karma browser no activity timeout was lower than the QUnit
timeout, a single timing out test was interrupting the whole test run of
a browser.

The QUnit timeout is set to 1 minute so I set the Karma one to 2 minutes.

Checklist

Sorry, something went wrong.

@mgol mgol self-assigned this Sep 29, 2021
@mgol mgol force-pushed the karma-browser-timeout branch from d86c3b4 to 844ae5b Compare September 30, 2021 22:05
@mgol mgol requested a review from timmywil October 18, 2021 22:13
@mgol mgol added the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Oct 18, 2021
@timmywil timmywil removed the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Oct 25, 2021
@mgol mgol removed the Needs review label Oct 25, 2021
@mgol mgol added this to the 3.6.1 milestone Oct 25, 2021
@mgol mgol force-pushed the karma-browser-timeout branch from 844ae5b to a9e9a95 Compare October 27, 2021 09:43
@mgol
Copy link
Member Author

mgol commented Oct 27, 2021

Travis fails because it even fails on main when I re-run the build:
https://app.travis-ci.com/github/jquery/jquery/jobs/543838350

I submitted a hotfix PR: #4961

Since the default Karma browser no activity timeout was lower than the QUnit
timeout, a single timing out test was interrupting the whole test run of
a browser.

The QUnit timeout is set to 1 minute so I set the Karma one to 2 minutes.
@mgol mgol force-pushed the karma-browser-timeout branch from a9e9a95 to c615d43 Compare October 29, 2021 21:57
@mgol mgol merged commit 4fd6912 into jquery:main Oct 29, 2021
@mgol mgol deleted the karma-browser-timeout branch October 29, 2021 22:56
mgol added a commit that referenced this pull request Oct 29, 2021
Since the default Karma browser no activity timeout was lower than the QUnit
timeout, a single timing out test was interrupting the whole test run of
a browser.

The QUnit timeout is set to 1 minute so I set the Karma one to 2 minutes.

Closes gh-4943

(cherry picked from commit 4fd6912)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants