retry detector not waiting long enough

Bug #1392561 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Fix Released
Undecided
Unassigned

Bug Description

ft1.139: congress.dse.tests.test_dse.TestDSE.test_cage_StringException: Traceback (most recent call last):
  File "/home/jenkins/workspace/gate-congress-python27/congress/dse/tests/test_dse.py", line 39, in test_cage
    helper.retry_check_for_message_to_arrive(test1)
  File "/home/jenkins/workspace/gate-congress-python27/.tox/py27/local/lib/python2.7/site-packages/retrying.py", line 49, in wrapped_f
    return Retrying(*dargs, **dkw).call(f, *args, **kw)
  File "/home/jenkins/workspace/gate-congress-python27/.tox/py27/local/lib/python2.7/site-packages/retrying.py", line 212, in call
    raise attempt.get()
  File "/home/jenkins/workspace/gate-congress-python27/.tox/py27/local/lib/python2.7/site-packages/retrying.py", line 247, in get
    six.reraise(self.value[0], self.value[1], self.value[2])
  File "/home/jenkins/workspace/gate-congress-python27/.tox/py27/local/lib/python2.7/site-packages/retrying.py", line 200, in call
    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  File "/home/jenkins/workspace/gate-congress-python27/congress/tests/helper.py", line 205, in retry_check_for_message_to_arrive
    raise AttributeError("Missing 'body' attribute")
AttributeError: Missing 'body' attribute

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (master)

Reviewed: https://review.openstack.org/134427
Committed: https://git.openstack.org/cgit/stackforge/congress/commit/?id=ba6df4478eed455dbf0ed84119e54d55c4c7fec6
Submitter: Jenkins
Branch: master

commit ba6df4478eed455dbf0ed84119e54d55c4c7fec6
Author: Aaron Rosen <email address hidden>
Date: Thu Nov 13 18:15:54 2014 -0800

    Increase timeout on retry decorator

    Some unit tests are still failing due to not waiting long enough. This
    is caused because we are retrying every 10ms. This patch sets the retry
    interval to 100ms second instead to avoid this failure. In the future we'll
    refactor these tests to not test things in an undetermistic way.

    Change-Id: I95e67ebdb59724d6f7c4bfe6a2970879ee38e6fb
    Closes-bug: 1392561

Changed in congress:
status: New → Fix Committed
Tim Hinrichs (thinrichs)
Changed in congress:
milestone: none → kilo-3
status: Fix Committed → 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.