Commit fe4c91a6 authored by Ivan Tyagov's avatar Ivan Tyagov

In a test environment build time can vary significantly based on load of...

In a test environment build time can vary significantly based on load of machine. Prevent false failures.
parent 2dc32e6c
...@@ -20,5 +20,5 @@ class TestSiteStatus(unittest.TestCase): ...@@ -20,5 +20,5 @@ class TestSiteStatus(unittest.TestCase):
self.assertTrue(self.status_dict['success']) self.assertTrue(self.status_dict['success'])
def test_build_time(self): def test_build_time(self):
"""Asserts that site was built in less than 11h""" """Asserts that site was built in less than 13h"""
self.assertLess(self.status_dict['duration'], (3600. * 11)) self.assertLess(self.status_dict['duration'], (3600. * 13))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment