summaryrefslogtreecommitdiff
path: root/qpid/python/qpid-python-test
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
commitf85017e57c07967a6ed9840f09491b236348e15d (patch)
treea2f7892f9eae4ec510ebdf56f3031b0889faf260 /qpid/python/qpid-python-test
parentcdde6ac4e71242915b2ad14b51b80af842a587d5 (diff)
downloadqpid-python-f85017e57c07967a6ed9840f09491b236348e15d.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@906898 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/qpid-python-test')
0 files changed, 0 insertions, 0 deletions