BIND 10 #2468: b10-stats-httpd_test.py not stopping
BIND 10 Development
do-not-reply at isc.org
Tue Jan 15 04:26:44 UTC 2013
#2468: b10-stats-httpd_test.py not stopping
-----------------------------------+-----------------------------------
Reporter: jreed | Owner:
Type: defect | Status: new
Priority: medium | Milestone:
Component: statistics | Resolution:
Keywords: | CVSS Scoring:
Sensitive: 0 | Defect Severity: N/A
Sub-Project: Core | Feature Depending on Ticket:
Estimated Difficulty: discuss | Add Hours to Ticket: 0
Total Hours: 0 | Internal?: 0
-----------------------------------+-----------------------------------
Comment (by naokikambe):
Replying to [comment:11 jreed]:
> https://lists.isc.org/pipermail/bind10-dev/2013-January/004241.html
As another workaround, this patch disables tests using `MockMsgq()` on
freebsd8.
{{{#!patch
diff --git a/src/bin/stats/tests/test_utils.py
b/src/bin/stats/tests/test_utils.py
index 96f7046..de35512 100644
--- a/src/bin/stats/tests/test_utils.py
+++ b/src/bin/stats/tests/test_utils.py
@@ -25,6 +25,7 @@ import threading
import tempfile
import json
import signal
+import unittest
import msgq
import isc.config.cfgmgr
@@ -535,6 +536,9 @@ class MyStatsHttpd(stats_httpd.StatsHttpd):
class BaseModules:
def __init__(self):
+ # skipping tests on freebsd8. see #2468 for details.
+ if sys.platform.startswith('freebsd8'):
+ raise unittest.SkipTest('Skipping on freebsd8')
# MockMsgq
self.msgq = ThreadingServerManager(MockMsgq)
self.msgq.run()}}}
--
Ticket URL: <http://bind10.isc.org/ticket/2468#comment:12>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list