summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-06-07 11:11:45 +0200
committerFlorian Bruhin <me@the-compiler.org>2021-06-07 11:11:45 +0200
commite6261ad92ef138b7eac1266a7f20133ff6bc0ece (patch)
tree623d7e548c5a9e3b1768bdc724942a0d145e6538
parentbb33d145a4716ca53d74dc9935c78210049c71d5 (diff)
downloadqutebrowser-e6261ad92ef138b7eac1266a7f20133ff6bc0ece.tar.gz
qutebrowser-e6261ad92ef138b7eac1266a7f20133ff6bc0ece.zip
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.
-rw-r--r--tests/end2end/fixtures/quteprocess.py4
-rw-r--r--tests/end2end/test_invocations.py1
2 files changed, 4 insertions, 1 deletions
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