mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-26 03:54:08 +01:00
Fediverse & String: Increase test timeouts, they can be flaky on CIs
This commit is contained in:
parent
749b8e18ad
commit
c93493901e
@ -100,7 +100,7 @@ class NetworkedFediverseTestCase(BaseFediverseTestCase):
|
|||||||
|
|
||||||
|
|
||||||
class NetworklessFediverseTestCase(BaseFediverseTestCase):
|
class NetworklessFediverseTestCase(BaseFediverseTestCase):
|
||||||
timeout = 0.5
|
timeout = 1.
|
||||||
|
|
||||||
@contextlib.contextmanager
|
@contextlib.contextmanager
|
||||||
def mockWebfingerSupport(self, value):
|
def mockWebfingerSupport(self, value):
|
||||||
|
@ -77,6 +77,11 @@ def group(seq, groupSize, noneFill=True):
|
|||||||
|
|
||||||
class StringTestCase(PluginTestCase):
|
class StringTestCase(PluginTestCase):
|
||||||
plugins = ('String', 'Format', 'Status')
|
plugins = ('String', 'Format', 'Status')
|
||||||
|
|
||||||
|
config = {
|
||||||
|
'plugins.String.re.timeout': '2' # flaky on busy CIs otherwise
|
||||||
|
}
|
||||||
|
|
||||||
def testLen(self):
|
def testLen(self):
|
||||||
self.assertResponse('len foo', '3')
|
self.assertResponse('len foo', '3')
|
||||||
self.assertHelp('len')
|
self.assertHelp('len')
|
||||||
|
Loading…
Reference in New Issue
Block a user