aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2020-10-06 13:48:51 +0200
committeralezakos <electrovesta@gmail.com>2020-10-18 22:22:35 +0300
commitbc1b4adce1a79f04ad5e2221884fc09b606cd357 (patch)
tree68191fd570250fd560a642054d3b5bbfd9a41c31
parent4a1b2d3fb2dfe8ba337a45efb5d7f6ac5362f20e (diff)
downloadsupybot_github-bc1b4adce1a79f04ad5e2221884fc09b606cd357.tar.gz
supybot_github-bc1b4adce1a79f04ad5e2221884fc09b606cd357.tar.bz2
supybot_github-bc1b4adce1a79f04ad5e2221884fc09b606cd357.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