diff options
| author | Gordon Sim <gsim@apache.org> | 2013-04-29 18:04:17 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2013-04-29 18:04:17 +0000 |
| commit | 3e08b645c2861fb36525e05061d6c8012fd30932 (patch) | |
| tree | 05cadd4783165344d510c0c6d6f69f933b36455f /cpp/src/tests/run_paged_queue_tests | |
| parent | bd628476486bf177d99b8f8e7e45ce550100452f (diff) | |
| download | qpid-python-3e08b645c2861fb36525e05061d6c8012fd30932.tar.gz | |
QPID-4339: simple paged queue implementation
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1477236 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/run_paged_queue_tests')
| -rwxr-xr-x | cpp/src/tests/run_paged_queue_tests | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cpp/src/tests/run_paged_queue_tests b/cpp/src/tests/run_paged_queue_tests new file mode 100755 index 0000000000..8a72c23d86 --- /dev/null +++ b/cpp/src/tests/run_paged_queue_tests @@ -0,0 +1,32 @@ +#!/bin/bash + +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +#setup path to find qpid-config and sender/receiver test progs +source ./test_env.sh + +export PATH=$PWD:$srcdir:$PYTHON_COMMANDS:$PATH + +#set port to connect to via env var +test -s qpidd.port && QPID_PORT=`cat qpidd.port` +export QPID_PORT + +qpid-cpp-benchmark --broker "localhost:$QPID_PORT" --create-option "node:{x-declare:{arguments:{'qpid.paging':True,'qpid.max_size':0,'qpid.max_count':0,'qpid.flow_stop_size':0,'qpid.flow_resume_size':0,'qpid.flow_stop_count':0,'qpid.flow_resume_count':0}}}" +qpid-cpp-benchmark --broker "localhost:$QPID_PORT" --create-option "node:{x-declare:{arguments:{'qpid.paging':True,'qpid.max_size':0,'qpid.max_count':0,'qpid.flow_stop_size':0,'qpid.flow_resume_size':0,'qpid.flow_stop_count':0,'qpid.flow_resume_count':0}}}" --fill-drain
\ No newline at end of file |
