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

Alex/fix more flaky tests #3169

Merged
merged 1 commit into from
Apr 3, 2014
Merged

Alex/fix more flaky tests #3169

merged 1 commit into from
Apr 3, 2014

Conversation

auraz
Copy link
Contributor

@auraz auraz commented Apr 2, 2014

Speed up youtube stub server by loading youtube api only once.

This PR contains https://github.com/edx/edx-platform/pull/3149

Reviewers:

@polesye
@valera-rozuvan
@olmar

@valera-rozuvan
Copy link
Contributor

@auraz We should get Jenkins to run this PR a couple of times. This comment should be updated with all Jenkins jobs launched for this PR:

Auto PR

Manual PR

@@ -14,6 +14,8 @@
"lti": {"port": settings.LTI_PORT, "class": StubLtiService},
}

YOUTUBE_API_RESPONSE = requests.get('http://www.youtube.com/iframe_api')
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible not to use external service and mock this request?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need real youtube API to initialize videos. In case we will stub it, we need to update when youtube update it. And this is not possible.

@polesye
Copy link
Contributor

polesye commented Apr 3, 2014

👍 once Jenkins pass.

@olmar
Copy link
Contributor

olmar commented Apr 3, 2014

👍 after tests pass.

@valera-rozuvan
Copy link
Contributor

@auraz Squash commits, rebase against latest master. 👍 Good to merge!

auraz added a commit that referenced this pull request Apr 3, 2014
@auraz auraz merged commit 668134d into master Apr 3, 2014
@auraz auraz deleted the alex/fix_more_flaky_tests branch April 3, 2014 12:34
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.

4 participants