-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Conversation
@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') |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
👍 once Jenkins pass. |
👍 after tests pass. |
@auraz Squash commits, rebase against latest master. 👍 Good to merge! |
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