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-18 12:17:01 +0200
commit62b57ff8ac4257587afae030fa29bc167702e04b (patch)
tree68191fd570250fd560a642054d3b5bbfd9a41c31
parentf164d6858f7a15f73676974b2f6ccef47f1ce070 (diff)
downloadsupybot_github-assorted-fixes-for-alezakos.tar.gz
supybot_github-assorted-fixes-for-alezakos.tar.bz2
supybot_github-assorted-fixes-for-alezakos.zip
Slow down tests for Travisassorted-fixes-for-alezakos
-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