diff options
| author | Alan Conway <aconway@apache.org> | 2011-01-20 14:13:08 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2011-01-20 14:13:08 +0000 |
| commit | f89731ae3ec246a09a53f6eaa0c8506199321fd2 (patch) | |
| tree | ff4519d88f3adf1027544fe5017c7466c8995e33 /cpp/src/tests/cluster_test_logs.py | |
| parent | cddd34f0fa3d15d2963976670747e616f947df91 (diff) | |
| download | qpid-python-f89731ae3ec246a09a53f6eaa0c8506199321fd2.tar.gz | |
Bug 654872, QPID-3007: Batch management messages by count, not size.
QMF V1 management messages were being batched by accumulating up to a
certain total size of data. Since management messages may have
different sizes on brokers in a cluster, this was leading to
inconsistencies.
This patch batches V1 messages by count rather than by size, similar
to V2 messages.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061308 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/cluster_test_logs.py')
| -rwxr-xr-x | cpp/src/tests/cluster_test_logs.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/tests/cluster_test_logs.py b/cpp/src/tests/cluster_test_logs.py index 0333822824..4cb921932e 100755 --- a/cpp/src/tests/cluster_test_logs.py +++ b/cpp/src/tests/cluster_test_logs.py @@ -59,7 +59,8 @@ def filter_log(log): 'task late', 'task overran', 'warning CLOSING .* unsent data', - 'Inter-broker link ' + 'Inter-broker link ', + 'Running in a cluster, marking store' ]) if re.compile(skip).search(l): continue @@ -85,7 +86,7 @@ def filter_log(log): out.write(l) out.close() -def verify_logs(logs): +def verify_logs(): """Compare log files from cluster brokers, verify that they correspond correctly.""" # FIXME aconway 2011-01-19: disable when called from unit tests # Causing sporadic failures, see https://issues.apache.org/jira/browse/QPID-3007 @@ -110,4 +111,4 @@ def verify_logs(logs): # Can be run as a script. if __name__ == "__main__": - verify_logs(glob.glob("*.log")) + verify_logs() |
