summaryrefslogtreecommitdiff
path: root/python/qpid/tests/queue.py
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2010-02-05 11:00:45 +0000
committerMartin Ritchie <ritchiem@apache.org>2010-02-05 11:00:45 +0000
commit7c3117bbc2c0ca538618870aae758bd3a6ac13b5 (patch)
tree5a45065e21e1edca55fbfdab93ed38ed77fa7219 /python/qpid/tests/queue.py
parentb9e539cb344c836c89c935e87fb420db0f6478f0 (diff)
downloadqpid-python-7c3117bbc2c0ca538618870aae758bd3a6ac13b5.tar.gz
QPID-2059 : Updated test to try and wait for the subscriber message to appear in the log file.
QPID-2059 : One of the main causes of SubscriptionLoggingTest failing was that the aynchronous broker call preceding the log scraping would not always have time to complete the logging to file. So I have added a waitAndFindMessages method that will attempt to retreive the required string for a set period of time. If it is found then it will perform the findMessages as before. I have updated the LoggingTests to use this method first. This will ensure that we have a more sophoiticated wait that just adding Thread.sleep()s to the tests. QPID-2059 : Being even more explicit in some of the Logging tests as the previous update caused a sinle ExchangeLoggingTest failure. Updated tests where I can to explicitly wait for a message ID they are testing for. Then used a findMatches with the more general match. i.e. wait for QUE-1001 but find all QUE- messages. merged changes from 0.5.x r 906559,906459,905600 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906898 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/tests/queue.py')
0 files changed, 0 insertions, 0 deletions