Fix runtests --force_default_poller on linux

pull/11185/head
Craig Tiller 8 years ago
parent 90224ba893
commit b2574bfb68
  1. 2
      tools/run_tests/run_tests.py

@ -1459,7 +1459,7 @@ def _build_and_run(
suite_name=args.report_suite_name)
return []
if not args.travis and not _has_epollexclusive() and 'epollex' in _POLLING_STRATEGIES[platform_string()]:
if not args.travis and not _has_epollexclusive() and platform_string() in _POLLING_STRATEGIES and 'epollex' in _POLLING_STRATEGIES[platform_string()]:
print('\n\nOmitting EPOLLEXCLUSIVE tests\n\n')
_POLLING_STRATEGIES[platform_string()].remove('epollex')

Loading…
Cancel
Save