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

Remove timeout in async_test for mediacapture-streams tests #14089

Merged

Conversation

qiuzhong
Copy link
Contributor

Remove all the timeout in async_test for mediacapture-streams tests.
Affected tests: 12
Before: Pass: 10, Failed: 2
After: Pass: 10, Failed: 2
Related: #11120

Remove all the timeout in `async_test` for mediacapture-streams tests.
Affected tests: 12
Before: Pass: 10, Failed: 2
After: Pass: 10, Failed: 2
Related: web-platform-tests#11120
@@ -15,7 +15,7 @@ <h1 class="instructions">Description</h1>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
var t = async_test("Tests that adding a track to a MediaStream works as expected", {timeout: 20000}); // longer timeout since requires double user interaction
var t = async_test("Tests that adding a track to a MediaStream works as expected"); // longer timeout since requires double user interaction
Copy link
Member

Choose a reason for hiding this comment

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

Can you remove the comment which refers to the deleted code?

Copy link
Contributor Author

@qiuzhong qiuzhong Nov 23, 2018

Choose a reason for hiding this comment

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

Oops! Most of the update was done by a script and I didn't notice that useless comment. It's removed now.

@@ -17,7 +17,7 @@ <h1 class="instructions">Description</h1>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
var t = async_test("Tests that the video MediaStreamTrack objects are properly ended on permission revocation", {timeout: 20000}); // longer timeout since requires user interaction
var t = async_test("Tests that the video MediaStreamTrack objects are properly ended on permission revocation"); // longer timeout since requires user interaction
Copy link
Member

Choose a reason for hiding this comment

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

remove comment

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed.

Since the `timeout` is removed from `async_test`, the comments are
useless and should be removed.
@foolip foolip merged commit 4054a88 into web-platform-tests:master Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants