##// END OF EJS Templates
Fix parallel test on WinXP - wait for resource cleanup....
Jonathan March -
Show More
@@ -17,6 +17,7 b' Authors:'
17 #-------------------------------------------------------------------------------
17 #-------------------------------------------------------------------------------
18
18
19 import sys
19 import sys
20 import platform
20 import time
21 import time
21 from tempfile import mktemp
22 from tempfile import mktemp
22 from StringIO import StringIO
23 from StringIO import StringIO
@@ -42,6 +43,13 b' def setup():'
42
43
43 class TestView(ClusterTestCase, ParametricTestCase):
44 class TestView(ClusterTestCase, ParametricTestCase):
44
45
46 def setUp(self):
47 super(TestView, self).setUp()
48 # On Win XP, wait for resource cleanup, else parallel test group fails
49 if platform.system() == "Windows" and platform.win32_ver()[0] == "XP":
50 # 1 sec fails. 1.5 sec seems ok. Using 2 sec for margin of safety
51 time.sleep(2)
52
45 def test_z_crash_mux(self):
53 def test_z_crash_mux(self):
46 """test graceful handling of engine death (direct)"""
54 """test graceful handling of engine death (direct)"""
47 raise SkipTest("crash tests disabled, due to undesirable crash reports")
55 raise SkipTest("crash tests disabled, due to undesirable crash reports")
General Comments 0
You need to be logged in to leave comments. Login now