Test failures due to float precision (?)

Bug #1489366 reported by Dmitry Tantsur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
futurist
Fix Released
Low
Joshua Harlow

Bug Description

I've seen the following failure:

ft1.52: futurist.tests.test_executors.TestExecutors.test_gather_stats(thread)_StringException: Empty attachments:
  stderr
  stdout

Traceback (most recent call last):
  File "futurist/tests/test_executors.py", line 82, in test_gather_stats
    self.assertGreaterEqual(self.executor.statistics.runtime, 0.2)
  File "/home/jenkins/workspace/gate-futurist-python27/.tox/py27/local/lib/python2.7/site-packages/unittest2/case.py", line 1239, in assertGreaterEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/home/jenkins/workspace/gate-futurist-python27/.tox/py27/local/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
    raise self.failureException(msg)
AssertionError: 0.19990993199999707 not greater than or equal to 0.2

http://logs.openstack.org/48/217148/1/check/gate-futurist-python27/44fce5e/testr_results.html.gz

Joshua Harlow (harlowja)
Changed in futurist:
assignee: nobody → Joshua Harlow (harlowja)
importance: Undecided → Low
Revision history for this message
ChangBo Guo(gcb) (glongwave) wrote :
Changed in futurist:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.