Increase the yttimeout to un-skip the video tests.
This commit is contained in:
@@ -132,6 +132,7 @@ except ImportError:
|
||||
YOUTUBE['API'] = "http://127.0.0.1:{0}/get_youtube_api/".format(YOUTUBE_PORT)
|
||||
YOUTUBE['METADATA_URL'] = "http://127.0.0.1:{0}/test_youtube/".format(YOUTUBE_PORT)
|
||||
YOUTUBE['TEXT_API']['url'] = "127.0.0.1:{0}/test_transcripts_youtube/".format(YOUTUBE_PORT)
|
||||
YOUTUBE['TEST_TIMEOUT'] = 1500
|
||||
|
||||
# Generate a random UUID so that different runs of acceptance tests don't break each other
|
||||
import uuid
|
||||
|
||||
@@ -103,6 +103,7 @@ FEATURES['ENABLE_SPECIAL_EXAMS'] = True
|
||||
|
||||
# Point the URL used to test YouTube availability to our stub YouTube server
|
||||
YOUTUBE_PORT = 9080
|
||||
YOUTUBE['TEST_TIMEOUT'] = 5000
|
||||
YOUTUBE['API'] = "http://127.0.0.1:{0}/get_youtube_api/".format(YOUTUBE_PORT)
|
||||
YOUTUBE['METADATA_URL'] = "http://127.0.0.1:{0}/test_youtube/".format(YOUTUBE_PORT)
|
||||
YOUTUBE['TEXT_API']['url'] = "127.0.0.1:{0}/test_transcripts_youtube/".format(YOUTUBE_PORT)
|
||||
|
||||
@@ -780,6 +780,8 @@ YOUTUBE = {
|
||||
# YouTube JavaScript API
|
||||
'API': 'https://www.youtube.com/iframe_api',
|
||||
|
||||
'TEST_TIMEOUT': 1500,
|
||||
|
||||
# URL to get YouTube metadata
|
||||
'METADATA_URL': 'https://www.googleapis.com/youtube/v3/videos',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user