Jenkins: Fix test_pin_all_jobs to allow for the maximum number of 500 pinned jobs (#2889)

This commit is contained in:
Dave Hunt 2017-10-31 10:06:41 +00:00 коммит произвёл Ed Morley
Родитель f74e6dfee3
Коммит d5e97f28ac
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -41,4 +41,4 @@ def test_pin_all_jobs(base_url, selenium):
page = TreeherderPage(selenium, base_url).open()
result_set = next(r for r in page.result_sets if len(r.jobs) > 1)
result_set.pin_all_jobs()
assert len(result_set.jobs) <= len(page.pinboard.jobs) < 500
assert len(result_set.jobs) <= len(page.pinboard.jobs) <= 500