diff options
author | Daniel Lange <DLange@git.local> | 2020-10-06 13:48:51 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2020-10-06 13:48:51 +0200 |
commit | ff18d1fd259afa84af4721629eccb181f7ec5050 (patch) | |
tree | a4433212dace5d3c6a4775b43545250a793a4f22 | |
parent | cb1beed1975207bb9d815341c6efe66854db29ea (diff) | |
download | supybot_github-ff18d1fd259afa84af4721629eccb181f7ec5050.tar.gz supybot_github-ff18d1fd259afa84af4721629eccb181f7ec5050.tar.bz2 supybot_github-ff18d1fd259afa84af4721629eccb181f7ec5050.zip |
Slow down tests for Travis
-rw-r--r-- | local/testing/ExpectationPluginTestCase.py | 2 |
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""" |