зеркало из https://github.com/mozilla/treeherder.git
Bug 1294096 - Fix test that times out due to external HTTP requests
Previously test_new_job_in_exclusion_profile was attempting to download logs from ftp.mozilla.org, due to the log parser not being mocked, which caused intermittent test timeouts on Travis.
This commit is contained in:
Родитель
721d2f5221
Коммит
527efdccf5
|
@ -740,7 +740,7 @@ def test_remove_existing_jobs_one_existing_one_new(jm, sample_data,
|
|||
assert Job.objects.count() == 1
|
||||
|
||||
|
||||
def test_new_job_in_exclusion_profile(jm, sample_data, sample_resultset,
|
||||
def test_new_job_in_exclusion_profile(jm, sample_data, sample_resultset, mock_log_parser,
|
||||
test_sheriff, test_project):
|
||||
job = sample_data.job_data[1]
|
||||
platform = job["job"]["machine_platform"]["platform"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче