We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This doesn't affect travis, which is good, but that may just be because travis doesn't run integration tests.
________________________ test_run_maxtimeout[context_function0] ________________________ event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> context_function = <function get_context at 0x111b76158> @pytest.mark.skipif(os.environ.get("NO_TESTS_OVER_WIRE"), reason=SKIP_REASON) @pytest.mark.parametrize("context_function", [get_context, get_temp_creds_context]) def test_run_maxtimeout(event_loop, context_function): task_id = slugid.nice().decode('utf-8') task_group_id = slugid.nice().decode('utf-8') partial_config = { 'task_max_timeout': 2, } with context_function(partial_config) as context: result = event_loop.run_until_complete( create_task(context, task_id, task_group_id) ) assert result['status']['state'] == 'pending' with remember_cwd(): os.chdir(os.path.dirname(context.config['work_dir'])) with pytest.raises(RuntimeError): event_loop.run_until_complete( > worker.run_loop(context, creds_key="integration_credentials") ) E Failed: DID NOT RAISE <class 'RuntimeError'> scriptworker/test/test_integration.py:179: Failed ________________________ test_run_maxtimeout[context_function1] ________________________ event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> context_function = <function get_temp_creds_context at 0x111b762f0> @pytest.mark.skipif(os.environ.get("NO_TESTS_OVER_WIRE"), reason=SKIP_REASON) @pytest.mark.parametrize("context_function", [get_context, get_temp_creds_context]) def test_run_maxtimeout(event_loop, context_function): task_id = slugid.nice().decode('utf-8') task_group_id = slugid.nice().decode('utf-8') partial_config = { 'task_max_timeout': 2, } with context_function(partial_config) as context: result = event_loop.run_until_complete( create_task(context, task_id, task_group_id) ) assert result['status']['state'] == 'pending' with remember_cwd(): os.chdir(os.path.dirname(context.config['work_dir'])) with pytest.raises(RuntimeError): event_loop.run_until_complete( > worker.run_loop(context, creds_key="integration_credentials") ) E Failed: DID NOT RAISE <class 'RuntimeError'> scriptworker/test/test_integration.py:179: Failed ======================== 2 failed, 374 passed in 179.57 seconds ======================== ERROR: InvocationError: '/Users/asasaki/src/tc/scriptworker/.tox/py36/bin/py.test --cov-config .coveragerc --cov=scriptworker --cov-report term-missing' _______________________________________ summary ________________________________________ ERROR: py36: commands failed
The text was updated successfully, but these errors were encountered:
don't expect a RuntimeError on py36. Fixes mozilla-releng#135
8df08e3
76073eb
Merge pull request #193 from escapewindow/fix_py36
e3b275e
don't expect a RuntimeError on py36. Fixes #135
No branches or pull requests
This doesn't affect travis, which is good, but that may just be because travis doesn't run integration tests.
The text was updated successfully, but these errors were encountered: