From 62b57ff8ac4257587afae030fa29bc167702e04b Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Tue, 6 Oct 2020 13:48:51 +0200 Subject: Slow down tests for Travis --- local/testing/ExpectationPluginTestCase.py | 2 ++ 1 file changed, 2 insertions(+) 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""" -- cgit v1.2.3