-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset heartbeat timer when test files are served.
The heartbeat timer is only reset when YUI Test reports a test pass or fail event. If a test fails to run any YUI Tests before the heartbeat timeout of 45 seconds, then future tests will immediately hit this timeout because the timeout is not cleared when a new test is requested. This fix causes the timer to reset when test-related files are served, which includes requesting a new test. Credit to John Traver <jtraver@yahoo-inc.com> for reporting this issue.
- Loading branch information
Showing
1 changed file
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters