This test_wait_error is bothersome, it fails only when the host is under CPU load. Disabling for now, will fix/remove later.
This commit is contained in:
@@ -23,7 +23,7 @@ import sys
|
|||||||
import unittest
|
import unittest
|
||||||
from eventlet.api import sleep, with_timeout
|
from eventlet.api import sleep, with_timeout
|
||||||
from eventlet import api, proc, coros
|
from eventlet import api, proc, coros
|
||||||
from tests import LimitedTestCase
|
from tests import LimitedTestCase, skipped
|
||||||
|
|
||||||
DELAY = 0.01
|
DELAY = 0.01
|
||||||
|
|
||||||
@@ -289,6 +289,8 @@ class TestStuff(unittest.TestCase):
|
|||||||
self.assertEqual(e.wait(), 1)
|
self.assertEqual(e.wait(), 1)
|
||||||
self.assertEqual([proc.waitall([X]) for X in [x, y, z]], [[1], [2], [3]])
|
self.assertEqual([proc.waitall([X]) for X in [x, y, z]], [[1], [2], [3]])
|
||||||
|
|
||||||
|
# this test is timing-sensitive
|
||||||
|
@skipped
|
||||||
def test_wait_error(self):
|
def test_wait_error(self):
|
||||||
def x():
|
def x():
|
||||||
sleep(DELAY)
|
sleep(DELAY)
|
||||||
|
Reference in New Issue
Block a user