Closed kchodorow closed 12 years ago
They all pass for me now! But not Kaushal. But we're both up-to-date according to git!
I'm still getting failures, too:
FFF........S....................
======================================================================
FAIL: Test on an empty db
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/k/gitroot/logl/test/test_clock_skew.py", line 43, in test_clock_skew_none
assert cursor.count() == 0
AssertionError:
-------------------- >> begin captured logging << --------------------
logl.post.clock_skew: DEBUG: creating empty clock skew doc
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: DB with entries from one server
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/k/gitroot/logl/test/test_clock_skew.py", line 54, in test_clock_skew_one
assert cursor.count() == 0
AssertionError:
-------------------- >> begin captured stdout << ---------------------
In server_clock_skew
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
logl.post.clock_skew: DEBUG: creating empty clock skew doc
logl.post.clock_skew: DEBUG: creating empty clock skew doc
logl.post.clock_skew: INFO: Finding clock skew for Sam - Sam...
logl.post.clock_skew: DEBUG: Skipping identical server
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: Two different servers
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/k/gitroot/logl/test/test_clock_skew.py", line 73, in test_clock_skew_two
assert cursor.count() == 2
AssertionError:
-------------------- >> begin captured stdout << ---------------------
In server_clock_skew
In server_clock_skew
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
logl.post.clock_skew: DEBUG: creating empty clock skew doc
logl.post.clock_skew: DEBUG: creating empty clock skew doc
logl.post.clock_skew: INFO: Finding clock skew for Sam - Sam...
logl.post.clock_skew: DEBUG: Skipping identical server
logl.post.clock_skew: INFO: Finding clock skew for Sam - Nuni...
logl.post.clock_skew: DEBUG: Detecting clock skew for pair Sam - Nuni
logl.post.clock_skew: DEBUG: 3
logl.post.clock_skew: DEBUG: inserting new weight for td 3 into skews {}
logl.post.clock_skew: DEBUG: 3
logl.post.clock_skew: DEBUG: adding additional weight for td 3 into skews {'3': 3}
logl.post.clock_skew: DEBUG: 3
logl.post.clock_skew: DEBUG: adding additional weight for td 3 into skews {'3': 5}
logl.post.clock_skew: DEBUG: creating empty clock skew doc
logl.post.clock_skew: DEBUG: flipped one
logl.post.clock_skew: INFO: Finding clock skew for Nuni - Sam...
logl.post.clock_skew: DEBUG: Clock skew already found for this server
logl.post.clock_skew: INFO: Finding clock skew for Nuni - Nuni...
logl.post.clock_skew: DEBUG: Skipping identical server
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 32 tests in 22.289s
FAILED (SKIP=1, failures=3)
...just kidding.
found the bug, should be fixed now
Great! Try to keep the build passing before you commit from now on.