aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2020-10-06 13:48:51 +0200
committerDaniel Lange <DLange@git.local>2020-10-06 13:48:51 +0200
commitff18d1fd259afa84af4721629eccb181f7ec5050 (patch)
treea4433212dace5d3c6a4775b43545250a793a4f22
parentcb1beed1975207bb9d815341c6efe66854db29ea (diff)
downloadsupybot_github-ff18d1fd259afa84af4721629eccb181f7ec5050.tar.gz
supybot_github-ff18d1fd259afa84af4721629eccb181f7ec5050.tar.bz2
supybot_github-ff18d1fd259afa84af4721629eccb181f7ec5050.zip
Slow down tests for Travis
-rw-r--r--local/testing/ExpectationPluginTestCase.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/local/testing/ExpectationPluginTestCase.py b/local/testing/ExpectationPluginTestCase.py
index e6d2ed1..a1c59bd 100644
--- a/local/testing/ExpectationPluginTestCase.py
+++ b/local/testing/ExpectationPluginTestCase.py
@@ -54,6 +54,8 @@ class ExpectationPluginTestCase(PluginTestCase):
self.files[file] = content
content = bytes('payload=' + content, 'utf-8')
urllib.request.urlopen('http://localhost:' + str(self.port), content)
+ # Tests on Travis fail randomly, so let's slow things down...
+ sleep(1)
def conf(self, name, value):
"""Sets one of the plugin's configuration values"""

© 2014-2024 Faster IT GmbH | imprint | privacy policy