[packages/python-gevent] local proxy settings should not cause test failures
jajcus
jajcus at pld-linux.org
Sat Feb 22 17:29:46 CET 2014
commit 73d3206b1f2c61d576332312346e28baf02ffd1c
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Feb 22 17:23:27 2014 +0100
local proxy settings should not cause test failures
rpm-build-macros have been updated to properly clear the environment
known_failures-pld.txt | 7 -------
python-gevent.spec | 7 ++++---
2 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/python-gevent.spec b/python-gevent.spec
index 5a59464..8c640a3 100644
--- a/python-gevent.spec
+++ b/python-gevent.spec
@@ -20,9 +20,10 @@ Source1: known_failures-pld.txt
BuildRequires: libevent-devel >= 1.4.0
BuildRequires: python-devel
%if %{with tests}
-BuildRequires: python-greenlet >= 0.3.2
-BuildRequires: python-test
-BuildRequires: python-devel-src
+BuildRequires: python-greenlet >= 0.3.2
+BuildRequires: python-test
+BuildRequires: python-devel-src
+BuildRequires: rpm-build-macros >= 1.688
%endif
BuildRequires: rpm-pythonprov
Requires: python-greenlet >= 0.3.2
diff --git a/known_failures-pld.txt b/known_failures-pld.txt
index dccf68a..9fe5fd8 100644
--- a/known_failures-pld.txt
+++ b/known_failures-pld.txt
@@ -15,10 +15,6 @@
######################################################
# Tests which may fail on our builders
-# uses network, fragile to proxy settings
-* * * -u -m monkey_test test_urllib2_localnet.py
-* * * -u -m monkey_test --Event test_urllib2_localnet.py
-
# depends on external URL accessibility
* * * -u -m monkey_test test_urllib2net.py
* * * -u -m monkey_test --Event test_urllib2net.py
@@ -27,9 +23,6 @@
# has expectations on local TCP ports availability
* * * -u test___example_servers.py
-# fragile to local proxy settings
-* * * -u test__greenness.py
-
# File "test__socket.py", line 140, in test_sendall_timeout
# self.assertRaises(self.TIMEOUT_ERROR, client.sendall, data_sent)
# AssertionError: timeout not raised
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-gevent.git/commitdiff/907aafc6d645c30a544f444fe991c1d0609e1b6f
More information about the pld-cvs-commit
mailing list