[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Make scheduler test more tolerant
Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv25452/lib/mixminion
Modified Files:
test.py
Log Message:
Make scheduler test more tolerant
Index: test.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/test.py,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- test.py 7 Nov 2003 07:03:28 -0000 1.160
+++ test.py 7 Nov 2003 09:05:00 -0000 1.161
@@ -5795,7 +5795,7 @@
s.processEvents(tm+1.5)
self.assertEquals(["c"], lst)
diff = abs(s.firstEventTime()-(tm+1))
- self.assert_(diff < 0.01)
+ self.assert_(diff < 0.1)
s.processEvents(tm+5)
self.assertEquals(["c", "c", "d", "b"], lst)