Fix random fails of unit tests

Change-Id: I18f2efd7a5a4055ab7ffbc900cc453f578922641
Fixes: bug #1223953
This commit is contained in:
Sergey Lukjanov 2013-09-12 12:24:28 +04:00
parent fe5b782bd3
commit 7cb4e91cac
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class DbTestCase(unittest2.TestCase):
self.assertTrue(uuidutils.is_uuid_like(res.id))
# check created/updated
delta = datetime.timedelta(seconds=2)
delta = datetime.timedelta(seconds=15)
now = timeutils.utcnow()
self.assertAlmostEqual(res.created, now, delta=delta)