[fedmsg] Disable hub and thread tests for koji.

Ralph Bean ralph at fedoraproject.org
Tue Oct 9 19:32:20 UTC 2012


commit 8a1c60d4b159832b69c9a4dd84000297e6fe7504
Author: Ralph Bean <rbean at redhat.com>
Date:   Tue Oct 9 15:32:14 2012 -0400

    Disable hub and thread tests for koji.

 fedmsg.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/fedmsg.spec b/fedmsg.spec
index 01795d5..d811414 100644
--- a/fedmsg.spec
+++ b/fedmsg.spec
@@ -5,7 +5,7 @@
 
 Name:           fedmsg
 Version:        0.5.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Tools for Fedora Infrastructure real-time messaging
 Group:          Applications/Internet
 License:        LGPLv2+
@@ -98,6 +98,11 @@ socket.  Useful for repeating messages outside a firewal.
 # Create this temporary symlink that's only needed for the test suite.
 ln -s fedmsg/tests/test_certs dev_certs
 
+# Unfortunately, neither of these tests will run on koji since they require
+# some network connectivity.  With a note of sadness, we destroy them.
+rm fedmsg/tests/test_hub.py
+rm fedmsg/tests/test_threads.py
+
 %check
 %if %{?rhel}%{!?rhel:0} >= 6
 # Check section removed until a RHEL6 bug with python-repoze-what-plugins-sql
@@ -199,6 +204,9 @@ fi
 %{_sysconfdir}/init.d/fedmsg-gateway
 
 %changelog
+* Tue Oct 09 2012 Ralph Bean <rbean at redhat.com> - 0.5.4-4
+- Disable those few tests that require network connectivity for koji.
+
 * Tue Oct 09 2012 Ralph Bean <rbean at redhat.com> - 0.5.4-3
 - BuildRequires on python-pygments.
 


More information about the scm-commits mailing list