Show More
@@ -21,6 +21,7 import time | |||
|
21 | 21 | |
|
22 | 22 | import zmq |
|
23 | 23 | from nose import SkipTest |
|
24 | from nose.plugins.attrib import attr | |
|
24 | 25 | |
|
25 | 26 | from IPython import parallel as pmod |
|
26 | 27 | from IPython.parallel import error |
@@ -38,9 +39,9 class TestLoadBalancedView(ClusterTestCase): | |||
|
38 | 39 | ClusterTestCase.setUp(self) |
|
39 | 40 | self.view = self.client.load_balanced_view() |
|
40 | 41 | |
|
42 | @attr('crash') | |
|
41 | 43 | def test_z_crash_task(self): |
|
42 | 44 | """test graceful handling of engine death (balanced)""" |
|
43 | raise SkipTest("crash tests disabled, due to undesirable crash reports") | |
|
44 | 45 | # self.add_engines(1) |
|
45 | 46 | ar = self.view.apply_async(crash) |
|
46 | 47 | self.assertRaisesRemote(error.EngineError, ar.get, 10) |
@@ -24,6 +24,7 from StringIO import StringIO | |||
|
24 | 24 | |
|
25 | 25 | import zmq |
|
26 | 26 | from nose import SkipTest |
|
27 | from nose.plugins.attrib import attr | |
|
27 | 28 | |
|
28 | 29 | from IPython.testing import decorators as dec |
|
29 | 30 | from IPython.testing.ipunittest import ParametricTestCase |
@@ -50,9 +51,9 class TestView(ClusterTestCase, ParametricTestCase): | |||
|
50 | 51 | time.sleep(2) |
|
51 | 52 | super(TestView, self).setUp() |
|
52 | 53 | |
|
54 | @attr('crash') | |
|
53 | 55 | def test_z_crash_mux(self): |
|
54 | 56 | """test graceful handling of engine death (direct)""" |
|
55 | raise SkipTest("crash tests disabled, due to undesirable crash reports") | |
|
56 | 57 | # self.add_engines(1) |
|
57 | 58 | eid = self.client.ids[-1] |
|
58 | 59 | ar = self.client[eid].apply_async(crash) |
General Comments 0
You need to be logged in to leave comments.
Login now