diff options
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/tests/ha_test_max_queues.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/ha_test_max_queues.cpp b/qpid/cpp/src/tests/ha_test_max_queues.cpp index fda271f854..fcce4c3151 100644 --- a/qpid/cpp/src/tests/ha_test_max_queues.cpp +++ b/qpid/cpp/src/tests/ha_test_max_queues.cpp @@ -30,7 +30,10 @@ using namespace qpid::client; using namespace std; int main(int argc, char** argv) { - assert(argc == 2); // Expecing URL of broker as argv[1] + if (argc != 2) { + cerr << "Expecing URL of broker as argument" << endl; + exit(1); + } try { // We need to create a large number of queues quickly, so we // use the old API for it's asynchronous commands. |
