Fediverse & String: Increase test timeouts, they can be flaky on CIs

This commit is contained in:
Valentin Lorentz 2021-09-21 21:19:03 +02:00
parent 749b8e18ad
commit c93493901e
2 changed files with 6 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class NetworkedFediverseTestCase(BaseFediverseTestCase):
class NetworklessFediverseTestCase(BaseFediverseTestCase):
timeout = 0.5
timeout = 1.
@contextlib.contextmanager
def mockWebfingerSupport(self, value):

View File

@ -77,6 +77,11 @@ def group(seq, groupSize, noneFill=True):
class StringTestCase(PluginTestCase):
plugins = ('String', 'Format', 'Status')
config = {
'plugins.String.re.timeout': '2' # flaky on busy CIs otherwise
}
def testLen(self):
self.assertResponse('len foo', '3')
self.assertHelp('len')