From e6261ad92ef138b7eac1266a7f20133ff6bc0ece Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 7 Jun 2021 11:11:45 +0200 Subject: tests: Fix flakiness in test_invocations.py We don't need to check the log inside the test, as the quteproc fixture does that for us anyways. Also, looks like a new harmless message turned up. --- tests/end2end/fixtures/quteprocess.py | 4 ++++ tests/end2end/test_invocations.py | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py index 0c0cfc50f..264c81283 100644 --- a/tests/end2end/fixtures/quteprocess.py +++ b/tests/end2end/fixtures/quteprocess.py @@ -229,6 +229,10 @@ def is_ignored_chromium_message(line): # gpu_process_transport_factory.cc(1019)] Lost UI shared context. 'Lost UI shared context.', + # [20870:20908:0607/081717.652282:ERROR:block_files.cc(465)] Failed to + # open /tmp/qutebrowser-basedir-cg284f_m/data/webengine/GPUCache/data_2 + 'Failed to open *GPUCache*', + # Qt 5.12 # WORKAROUND for https://bugreports.qt.io/browse/QTBUG-70702 # [32123:32123:0923/224739.457307:ERROR:in_progress_cache_impl.cc(192)] diff --git a/tests/end2end/test_invocations.py b/tests/end2end/test_invocations.py index 97c04eb0d..71cbfcb90 100644 --- a/tests/end2end/test_invocations.py +++ b/tests/end2end/test_invocations.py @@ -802,4 +802,3 @@ def test_json_logging_without_debug(request, quteproc_new, runtime_tmpdir): quteproc_new.exit_expected = True quteproc_new.start(args, env={'XDG_RUNTIME_DIR': str(runtime_tmpdir)}) assert not quteproc_new.is_running() - assert not quteproc_new.captured_log -- cgit v1.2.3-54-g00ecf