File: test_time_rotation_reopening_native.patch

package info (click to toggle)
loguru 0.6.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,120 kB
  • sloc: python: 10,990; javascript: 49; makefile: 18; sh: 13
file content (13 lines) | stat: -rw-r--r-- 548 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Disable test_time_rotation_reopening_native which fails on buildd machines
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2021-04-30
--- a/tests/test_filesink_rotation.py
+++ b/tests/test_filesink_rotation.py
@@ -272,6 +272,7 @@
     assert tmpdir.join("test_2018-10-29_06-00-00_000000.log").read() == "Third\n"
 
 
+@pytest.mark.skip(reason="Test seems flaky, skip")
 @pytest.mark.parametrize("delay", [False, True])
 def test_time_rotation_reopening_native(tmpdir_local, delay):
     filepath = str(tmpdir_local / "test.log")