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

Fixing the test for pushstate #652 #690

Merged
merged 1 commit into from Jan 22, 2014
Merged

Conversation

andykant
Copy link
Contributor

The test for pushstate #652 would occasionally fail due to timing issues, this should ensure that it doesn't run into the issue of the window not being ready.

@andykant
Copy link
Contributor Author

@stevenvachon Yeah, it was still randomly failing even at 1500ms (not often, but it happens). Difficult to replicate unfortunately, so I'm hoping this fixes it.

@stevenvachon
Copy link
Contributor

Sorry about that. Wish I'd thought of that multiple timeout idea. I think it will fix it.

@andykant
Copy link
Contributor Author

No worries, honest mistake. That method I used is a good general hack for those types of tests. Not pretty but it works. :)

andykant added a commit that referenced this pull request Jan 22, 2014
@andykant andykant merged commit eb75293 into master Jan 22, 2014
@andykant andykant deleted the pushstate_652_test_fix branch January 22, 2014 20:37
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.

None yet

2 participants