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