Browse Source

Add patch 02_skip_flappy_test: Skip flappy test dulwich.tests.test_porcelain.PushTests.test_simple, which is subject to a race condition. Closes: #913037

Jelmer Vernooij 6 years ago
parent
commit
0edda7e019
3 changed files with 18 additions and 0 deletions
  1. 3 0
      debian/changelog
  2. 14 0
      debian/patches/02_skip_flappy_test
  3. 1 0
      debian/patches/series

+ 3 - 0
debian/changelog

@@ -3,6 +3,9 @@ dulwich (0.19.9-2) UNRELEASED; urgency=medium
   * Use secure copyright file specification URI.
   * Stop attempting to build pypy package mips64el, ppc64 and sparc64 -
     where pypy is not available.
+  * Add patch 02_skip_flappy_test: Skip flappy test
+    dulwich.tests.test_porcelain.PushTests.test_simple, which is subject
+    to a race condition. Closes: #913037
 
  -- Jelmer Vernooij <jelmer@debian.org>  Mon, 19 Nov 2018 19:53:42 +0000
 

+ 14 - 0
debian/patches/02_skip_flappy_test

@@ -0,0 +1,14 @@
+=== modified file 'dulwich/tests/test_porcelain.py'
+--- old/dulwich/tests/test_porcelain.py	2018-11-05 19:27:24 +0000
++++ new/dulwich/tests/test_porcelain.py	2018-11-20 04:03:18 +0000
+@@ -693,6 +693,9 @@
+         clone the remote, commit a file to the clone, then push the changes
+         back to the remote.
+         """
++        self.skipTest(
++            'test is flappy - '
++            'see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913037')
+         outstream = BytesIO()
+         errstream = BytesIO()
+ 
+

+ 1 - 0
debian/patches/series

@@ -1 +1,2 @@
 01_no_urllib3_pypy
+02_skip_flappy_test