Bug 1002267 - Stop trying to compare times in the mozlog unit tests. r=wlach, a=test-only
authorJames Graham <james@hoppipolla.co.uk>
Mon, 28 Apr 2014 10:27:00 +0200
changeset 192178 461e1c788403
parent 192177 3136f0462a23
child 192179 5c955e3d64b6
push id3512
push userryanvm@gmail.com
push date2014-04-30 13:07 +0000
treeherdermozilla-beta@ae9db69edde3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswlach, test-only
bugs1002267
milestone30.0
Bug 1002267 - Stop trying to compare times in the mozlog unit tests. r=wlach, a=test-only
testing/mozbase/mozlog/tests/test_structured.py
--- a/testing/mozbase/mozlog/tests/test_structured.py
+++ b/testing/mozbase/mozlog/tests/test_structured.py
@@ -32,17 +32,16 @@ class BaseStructuredTest(unittest.TestCa
                         "thread": "MainThread",
                         "source": "test"}
         specials = set(["time"])
 
         all_expected.update(expected)
         for key, value in all_expected.iteritems():
             self.assertEqual(actual[key], value)
 
-        self.assertAlmostEqual(actual["time"], time.time()*1000, delta=100)
         self.assertEquals(set(all_expected.keys()) | specials, set(actual.keys()))
 
 
 class TestStructuredLog(BaseStructuredTest):
     def test_suite_start(self):
         self.logger.suite_start(["test"])
         self.assert_log_equals({"action": "suite_start",
                                 "tests":["test"]})