diff -Nru python-molotov-1.6/debian/changelog python-molotov-1.6/debian/changelog --- python-molotov-1.6/debian/changelog 2019-03-19 17:35:11.000000000 +0100 +++ python-molotov-1.6/debian/changelog 2019-05-03 11:49:04.000000000 +0200 @@ -1,3 +1,11 @@ +python-molotov (1.6-4) unstable; urgency=medium + + [ Emmanuel Arias ] + * Disable test FTBFS randomly + - Patch create by Santiago Vila (Closes: #927810) + + -- Ondřej Nový <onovy@debian.org> Fri, 03 May 2019 11:49:04 +0200 + python-molotov (1.6-3) unstable; urgency=medium * Fix FTBFS (Closes: #924805) diff -Nru python-molotov-1.6/debian/patches/series python-molotov-1.6/debian/patches/series --- python-molotov-1.6/debian/patches/series 2019-03-19 17:26:44.000000000 +0100 +++ python-molotov-1.6/debian/patches/series 2019-05-03 11:48:41.000000000 +0200 @@ -1,3 +1,4 @@ 0001-Print-reason-why-is-not-possible-to-start-the-coserv.patch 0002-Disable-internet-tests.patch 0003-Disable-session-tests.patch +0004-Skip-tests-are-not-supposed-to-FTBFS-randomly.patch diff -Nru python-molotov-1.6/debian/patches/0004-Skip-tests-are-not-supposed-to-FTBFS-randomly.patch python-molotov-1.6/debian/patches/0004-Skip-tests-are-not-supposed-to-FTBFS-randomly.patch --- python-molotov-1.6/debian/patches/0004-Skip-tests-are-not-supposed-to-FTBFS-randomly.patch 1970-01-01 01:00:00.000000000 +0100 +++ python-molotov-1.6/debian/patches/0004-Skip-tests-are-not-supposed-to-FTBFS-randomly.patch 2019-05-03 11:48:41.000000000 +0200 @@ -0,0 +1,37 @@ +From: Emmanuel Arias <emamnuelarias30@gmail.com> +Date: Tue, 30 Apr 2019 01:26:53 +0000 +Subject: Skip tests are not supposed to FTBFS randomly + +Patch created by Santiago Vila +--- + molotov/tests/test_run.py | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/molotov/tests/test_run.py b/molotov/tests/test_run.py +index bcce75d..6b0496c 100644 +--- a/molotov/tests/test_run.py ++++ b/molotov/tests/test_run.py +@@ -1,6 +1,7 @@ + import time + import random + import os ++import pytest + import signal + import asyncio + from unittest.mock import patch +@@ -332,6 +333,7 @@ class TestRunner(TestLoop): + self.assertTrue(wanted in stdout, stdout) + + @dedicatedloop ++ @pytest.mark.skip(reason="This test is not reliable") + def test_sizing(self): + _RES2['fail'] = 0 + _RES2['succ'] = 0 +@@ -384,6 +386,7 @@ class TestRunner(TestLoop): + self.assertTrue(ratio >= 5., ratio) + + @dedicatedloop_noclose ++ @pytest.mark.skip(reason="This test is not reliable") + def test_statsd_multiprocess(self): + test_loop = asyncio.get_event_loop() +