Skip to content

Commit 75b3a04

Browse files
author
Richard Jones
committed
fix mysql testing date granularity thingy
1 parent 3c0f6bc commit 75b3a04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/db_test_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: db_test_base.py,v 1.26 2004-05-04 00:16:07 richard Exp $
18+
# $Id: db_test_base.py,v 1.27 2004-05-06 01:03:01 richard Exp $
1919

2020
import unittest, os, shutil, errno, imp, sys, time, pprint
2121

@@ -614,6 +614,7 @@ def testJournalPreCommit(self):
614614
def testPack(self):
615615
id = self.db.issue.create(title="spam", status='1')
616616
self.db.commit()
617+
time.sleep(1)
617618
self.db.issue.set(id, status='2')
618619
self.db.commit()
619620

0 commit comments

Comments
 (0)