Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

test(jqLite): make iframe contents() test less flaky #8157

Closed
wants to merge 1 commit into from

Conversation

caitp
Copy link
Contributor

@caitp caitp commented Jul 11, 2014

No description provided.

}
// This test is potentially flaky on CI cloud instances, so there is a generous
// wait period...
waitsFor(function() { return tested; }, 2000);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

still need to waitsFor because this is still asynchronous, but it''s not making a request anymore --- the fetch algorithm should abort this quickly.

Lets see how it does on travis...

@caitp caitp added cla: yes and removed cla: no labels Jul 11, 2014
@caitp
Copy link
Contributor Author

caitp commented Jul 11, 2014

/cc @vojtajina I think this should improve the flakes a bit...

It's not perfect because the operation is still asynchronous by necessity, but at least it's not making an HTTP request.

@caitp
Copy link
Contributor Author

caitp commented Jul 16, 2014

Merging this because this is flaking just too often on saucelabs :( I'm not sure how much this will help, but I think it should help at least a bit

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants