Skip to content

Commit 699afd3

Browse files
committed
Try to fix broken test - still one more test and again...
1 parent 1eb94fc commit 699afd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_livestatus_mongodb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -669,9 +669,9 @@ def test_a_long_history(self):
669669
# simply an estimation. the cleanup-routine in the mongodb logstore
670670
# cuts off the old data at midnight, but here in the test we have
671671
# only accuracy of a day.
672+
print("After: %d - %s - %s" % (numlogs, sum(daycount[:7]), sum(daycount[:8])))
673+
672674
self.assertTrue(numlogs >= sum(daycount[:7]))
673675
self.assertTrue(numlogs <= sum(daycount[:8]))
674676

675-
print("After: %d - %s - %s" % (numlogs, sum(daycount[:7]), sum(daycount[:8])))
676-
677677
time_hacker.set_my_time()

0 commit comments

Comments
 (0)