Bug 1509381 - Fix debug-mode page-cycles value when page-cycles < 2; r=Bebe

Differential Revision: https://phabricator.services.mozilla.com/D12704

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Rob Wood 2018-11-23 11:26:18 +00:00
Родитель 2de06b5abe
Коммит 8a44f27935
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -195,7 +195,7 @@ def get_raptor_test_list(args, oskey):
next_test['page_cycles'] = args.page_cycles
LOG.info("set page-cycles to %d as specified on cmd line" % args.page_cycles)
else:
if next_test['page_cycles'] > max_page_cycles:
if int(next_test['page_cycles']) > max_page_cycles:
next_test['page_cycles'] = max_page_cycles
LOG.info("page-cycles set to %d" % next_test['page_cycles'])
# if --page-timeout was provided on the command line, use that instead of INI