summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated perftests to include an Asynchronous ping senderMartin Ritchie2007-01-236-125/+438
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-103 Implemented support for MessageListener in AMQSession.Martin Ritchie2007-01-232-15/+57
| | | | | | | Required configuring an Asynchronous performance test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-315Marnie McCormack2007-01-231-0/+183
| | | | | | INitial commit - AMQSesssion convertToNativeMessage needs replaced with call to this class git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499087 13f79535-47bb-0310-9956-ffa450edef68
* (Patch submitted by Rupert Smith) Added the ability to limit the rate at ↵Robert Greig2007-01-2311-358/+447
| | | | | | which messages are sent by the ping tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499083 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Jim Meyering (jim@meyering.net) submitted on dev list.Gordon Sim2007-01-239-22/+2643
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instrument all tests so that they are run via valgrind: check for both errors and leaks. * configure.ac: Add new configure options: --enable-valgrind and --disable-valgrind. For now, the latter is the default. * README-dev: Document (and recommend) --enable-valgrind. * tests/.vg-supp: Add many more, from Gordon Sim for FC5. * configure.ac: Check for valgrind. * tests/Makefile.am (TESTS_ENVIRONMENT): Export VALGRIND. * tests/setup: New file. * tests/run-unit-tests: Use new "setup" file. Invoke DllPlugInTester via $vg (aka valgrind). Refer to the source directory using $pwd, since we're now running from a temporary subdirectory. * tests/run-python-tests: Remove traps. That is now done by "setup". [VERBOSE]: Print qpidd --version. Invoke qpidd via $vg and its absolute name. Add a kludgey "sleep 3", because it can take a while for libtool to start valgrind to start qpidd, in the background. Ideally, the python script would simply sleep-0.3-and-retry for a couple seconds, upon failure of the initial connection attempt. * tests/.vg-supp: New file, exempting known leaks on Debian/unstable. Some of these leaks appear to be legitimate. * tests/Makefile.am (EXTRA_DIST): Add .vg-supp and setup. * qpid-autotools-install (usage): Add a missing backslash. Fix "make distcheck" failure. * docs/api/Makefile.am (EXTRA_DIST): Add user.doxygen git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499049 13f79535-47bb-0310-9956-ffa450edef68
* QPID-302Bhupendra Bhusman Bhardwaj2007-01-231-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499043 13f79535-47bb-0310-9956-ffa450edef68
* QPID-314 : Patch supplied by Rob Godfrey - treat non-durable exclusive ↵Robert Greig2007-01-231-1/+1
| | | | | | queues as auto-delete git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499041 13f79535-47bb-0310-9956-ffa450edef68
* updated the test for testing with multiple threadsBhupendra Bhusman Bhardwaj2007-01-233-102/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499036 13f79535-47bb-0310-9956-ffa450edef68
* FailOver added flag FAIL_ONCE so that only the first call is stopped for ↵Martin Ritchie2007-01-237-46/+91
| | | | | | | | failover.. the default. Updated POM with Failover Tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498984 13f79535-47bb-0310-9956-ffa450edef68
* Proper fix to race condition where connection-close is sent by server. Now ↵Gordon Sim2007-01-231-15/+9
| | | | | | handle socket close on worker thread also. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498983 13f79535-47bb-0310-9956-ffa450edef68
* Test modified to take arguments with - optionsBhupendra Bhusman Bhardwaj2007-01-232-58/+146
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498974 13f79535-47bb-0310-9956-ffa450edef68
* Added addtional loggers for testingMartin Ritchie2007-01-231-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498970 13f79535-47bb-0310-9956-ffa450edef68
* Added ability to cause failover before/after commit/sendsMartin Ritchie2007-01-2310-220/+726
| | | | | | Added batch size ability. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498965 13f79535-47bb-0310-9956-ffa450edef68
* (Patch submitted by Rupert Smith) Added configurations for all performance ↵Robert Greig2007-01-226-62/+283
| | | | | | | | test setups to the pom. Commented out to not break build. Waiting on junit-toolkit-maven-plugin being added to maven repository. Create a throttle utility class and tests for it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498720 13f79535-47bb-0310-9956-ffa450edef68
* QPID-308 Configurable timeout on blockForFrame.Martin Ritchie2007-01-221-5/+5
| | | | | | | Stopping on InterruptedException is not correct logic. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498690 13f79535-47bb-0310-9956-ffa450edef68
* performance Ping tests modified for scalability test. Now tests with ↵Bhupendra Bhusman Bhardwaj2007-01-225-36/+174
| | | | | | multiple queues can be performed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498687 13f79535-47bb-0310-9956-ffa450edef68
* modified the mbean and mbean test for any failure in creating ↵Bhupendra Bhusman Bhardwaj2007-01-222-2/+8
| | | | | | TabularData(for channels) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-310 Propagated JMS Exception to client.Martin Ritchie2007-01-228-108/+265
| | | | | | | | | | QPID-308 Configurable timeout on blockForFrame. Timeouts added but need to be configurable. QPID-311 Dispatcher Thread is not thread safe. Added the missing Synchronized code and renamed vars to make it more readable git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498637 13f79535-47bb-0310-9956-ffa450edef68
* Stopped tests forking so we can get a stack trace from hung processesMartin Ritchie2007-01-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498593 13f79535-47bb-0310-9956-ffa450edef68
* Fixed creation of error message for unknown channel.Gordon Sim2007-01-221-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498591 13f79535-47bb-0310-9956-ffa450edef68
* (Patch submitted by Rupert Smith) Fix broken distribution by rolling back ↵Robert Greig2007-01-222-2/+3
| | | | | | assembly plugin to version 2.1. 2.2-SNAPSHOT is used in the perftests pom only. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498589 13f79535-47bb-0310-9956-ffa450edef68
* QPID-275 : Patch supplied by Rob Godfrey - Add support for get / purge / qos ↵Robert Greig2007-01-222-0/+158
| | | | | | size / default exchanges and some other small fixes highlighted by the python tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498574 13f79535-47bb-0310-9956-ffa450edef68
* Added class to ping itself and a junit test for it.Bhupendra Bhusman Bhardwaj2007-01-193-53/+184
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497878 13f79535-47bb-0310-9956-ffa450edef68
* QPID-309 fix for incorrect filemodes as pointed out by SteveMarnie McCormack2007-01-192-24/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497872 13f79535-47bb-0310-9956-ffa450edef68
* Removed mandatory 6 second sleep! replaced with a countdown latch that will ↵Martin Ritchie2007-01-191-4/+17
| | | | | | wait for a max of 2 seconds git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497813 13f79535-47bb-0310-9956-ffa450edef68
* JMSException logged as error Marnie McCormack2007-01-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497786 13f79535-47bb-0310-9956-ffa450edef68
* JMSException logged as errorMarnie McCormack2007-01-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497784 13f79535-47bb-0310-9956-ffa450edef68
* Upgraded logging for JMSException to error as we always want to know afaikMarnie McCormack2007-01-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-275 : Patch supplied by Rob Godfrey - Update list of expected failures ↵Robert Greig2007-01-191-14/+0
| | | | | | in Python test git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497779 13f79535-47bb-0310-9956-ffa450edef68
* Corrected file modes from 493 to 473, problem detected after move to ↵Marnie McCormack2007-01-192-12/+12
| | | | | | 2.2-SNAPSHOT version of assembly plugin which threw an exception on invalid file modes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497776 13f79535-47bb-0310-9956-ffa450edef68
* QPID-275 : Patch supplied by Rob Godfrey - Add support for get / purge / qos ↵Robert Greig2007-01-1938-900/+592
| | | | | | size / default exchanges and some other small fixes highlighted by the python tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497770 13f79535-47bb-0310-9956-ffa450edef68
* refactored the constructor to allow subclasses use the super constructorBhupendra Bhusman Bhardwaj2007-01-191-17/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497766 13f79535-47bb-0310-9956-ffa450edef68
* (Pacth by Rupert Smith) Fixed mistake in PingPongProducer, it was creating ↵Robert Greig2007-01-184-28/+37
| | | | | | | | its message counter after sending messages, so sometimes the onMessage loop had already received mesages before the counter was created. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497498 13f79535-47bb-0310-9956-ffa450edef68
* (Build fix - Rupert Smith)Robert Greig2007-01-181-21/+32
| | | | | | Sorry, I checked in a file with a missing dependency. Fixed now. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497482 13f79535-47bb-0310-9956-ffa450edef68
* Added the non-standard 'binary' type to the field table implementation to ↵Gordon Sim2007-01-182-0/+13
| | | | | | support the java client. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497439 13f79535-47bb-0310-9956-ffa450edef68
* (Patch submitted by Rupert Smith)Robert Greig2007-01-1813-513/+970
| | | | | | Restructured the ping tests, they now share common base classes to avoid cut and paste coding. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497425 13f79535-47bb-0310-9956-ffa450edef68
* Locked Channel::close() due to race.Gordon Sim2007-01-181-7/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497404 13f79535-47bb-0310-9956-ffa450edef68
* * uses LONG_STRING in place of WIDE_STRING for properties set through ↵Gordon Sim2007-01-185-22/+12
| | | | | | | | | | | | FieldTable.setString() as these appear to all be equivalent (apart from the type code) * uses setString instead of setAsciiString in creation of the connection.start-ok frames client properties * uses 4 bytes for the size of the BINARY value type as per the spec posted on the wiki git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497352 13f79535-47bb-0310-9956-ffa450edef68
* Modified handling of reason for closing in peer to work around race between ↵Gordon Sim2007-01-184-3/+7
| | | | | | | | | | | | worker and reader where a connection.close is followed by the socket closing (this is a bit of a hack). Modified test for queue_purge to do cleanup on new connection. Separated testing of scenario where closed channel is used from that where an unopened channel is used. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497342 13f79535-47bb-0310-9956-ffa450edef68
* Close connection when connection.close is sent to client.Gordon Sim2007-01-182-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497341 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: ↵Bhupendra Bhusman Bhardwaj2007-01-171-3/+2
| | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496996 13f79535-47bb-0310-9956-ffa450edef68
* added timer for callbackHandler to wait for next message before exitingBhupendra Bhusman Bhardwaj2007-01-171-33/+116
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496991 13f79535-47bb-0310-9956-ffa450edef68
* Added .NET generator class to the code generator, and added mechanism to ↵Kim van der Riet2007-01-163-8/+366
| | | | | | invoke it from the command line. The DotnetGenerator class is still mostly empty (ie has no code generation methods). The next step is to plan the templates that are required for .NET, and then implement them alongside the generator class code snippet methods. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496841 13f79535-47bb-0310-9956-ffa450edef68
* Fix to broken build due to missing file.Robert Greig2007-01-163-10/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496833 13f79535-47bb-0310-9956-ffa450edef68
* QPID-245 reverted interop changes for the sake of JMS compliance.Robert Greig2007-01-163-21/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496785 13f79535-47bb-0310-9956-ffa450edef68
* (Patch submitted by Rupert Smith) Refactored the test ping classes to share ↵Robert Greig2007-01-1611-263/+1321
| | | | | | | | common code. Made them runnable from the command line (the same as they already were). Also made it possible to instantiate them in other code more easily. A unit test class has been added that performs a ping. This is so that it can be run with the TKTestRunner to scale it up and take performance measurements. Junit-toolkit added as a dependency to the maven build system. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496753 13f79535-47bb-0310-9956-ffa450edef68
* Added folders.Robert Greig2007-01-160-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496751 13f79535-47bb-0310-9956-ffa450edef68
* Tests under this directory are actually ping testsBhupendra Bhusman Bhardwaj2007-01-164-0/+0
| | | | | | -Comment from Rupert git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496731 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: ↵Bhupendra Bhusman Bhardwaj2007-01-163-4/+10
| | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496682 13f79535-47bb-0310-9956-ffa450edef68
* Fixed QPID-296 Header guards may not be compliant with C++ standardKim van der Riet2007-01-167-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496678 13f79535-47bb-0310-9956-ffa450edef68