summaryrefslogtreecommitdiff
path: root/java/client/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Removed JMSXUserID as it appears the new mina is conflicting.Martin Ritchie2007-12-071-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1.1@602066 13f79535-47bb-0310-9956-ffa450edef68
* CommitRollbackTest - this one just was never right.. now we have something ↵Martin Ritchie2007-11-281-25/+12
| | | | | | better. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1.1@598835 13f79535-47bb-0310-9956-ffa450edef68
* QPID-621 : Patch Supplied by Aidan Skinner. Msg Ack after msg consumer is ↵Martin Ritchie2007-11-271-0/+1
| | | | | | closed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1.1@598721 13f79535-47bb-0310-9956-ffa450edef68
* Renamed POMs to M2.1.1 Removed erroneous equals() in ↵Martin Ritchie2007-11-271-71/+0
| | | | | | SpecificMethodFrameListenerTest git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1.1@598619 13f79535-47bb-0310-9956-ffa450edef68
* QPID-160 Addition of JMSXUserID to all messages through the java broker.Martin Ritchie2007-11-071-15/+20
| | | | | | | | As this will cause the headers to be re-encoded it can be disabled in the config.xml. Default is enabled as the sample config.xml should have all features enabled so that testing can observe the interactions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@592729 13f79535-47bb-0310-9956-ffa450edef68
* Additional Test for ConnectionURLTest, ensuring retries are correctly parsed.Martin Ritchie2007-11-051-6/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@591960 13f79535-47bb-0310-9956-ffa450edef68
* QPID-653 : Updated timeoutsRobert Godfrey2007-10-195-25/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@586344 13f79535-47bb-0310-9956-ffa450edef68
* QPID-635 Added a unit test and implemented the equals() method on ↵Martin Ritchie2007-10-111-0/+71
| | | | | | BlockingMethodFrameListener and SpecificMethodFrameListener. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@583775 13f79535-47bb-0310-9956-ffa450edef68
* QPID-631 : Patch provided by Aidan Skinner to address the errors in the ↵Martin Ritchie2007-10-101-4/+4
| | | | | | MessageRequeueTest. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@583546 13f79535-47bb-0310-9956-ffa450edef68
* QPID-627 : Update provided by Aidan Skinner to correctly close resources ↵Martin Ritchie2007-10-101-0/+2
| | | | | | used by Large Message Test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@583418 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-627 Patch provided by Aidan Skinner to address hangs in ↵Martin Ritchie2007-10-091-8/+11
| | | | | | DurableSubscriptionTest. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@583154 13f79535-47bb-0310-9956-ffa450edef68
* QPID-625 : Fix commit rollback test to prevent failures caused by incorrect ↵Robert Godfrey2007-10-091-3/+10
| | | | | | assertions in the test git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@583105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-624 : Forgot to commit updates to test along with ↵Martin Ritchie2007-10-051-30/+47
| | | | | | BlockingMethodFrameListener git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@582202 13f79535-47bb-0310-9956-ffa450edef68
* QPID-615, Added patched version of MINAs VM Pipe cleanup thread. Will ↵Rupert Smith2007-10-021-0/+125
| | | | | | replace once bug fix is in newer version of MINA. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@581293 13f79535-47bb-0310-9956-ffa450edef68
* QPID-611 QPID-620. DurableSubscriptionTest was failing due to a race ↵Martin Ritchie2007-10-011-14/+29
| | | | | | condition when using NO_ACK. This is due to the Queue Total Size being updated after the send, but after the send and NO_ACK the msg data is purged and so there is no size to retrieve. Changed all references to msg.dequeue to queue.dequeue where appropriate so we can use that single point in the future for updating the Queue Total Size. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@580993 13f79535-47bb-0310-9956-ffa450edef68
* QPID-595 CommitRollbackTest Patch provided by Aidan Skinner to address ↵Martin Ritchie2007-10-011-4/+3
| | | | | | intermittent test failure. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@580992 13f79535-47bb-0310-9956-ffa450edef68
* QPID-597 : TopicSessionTest Failure, Patch supplied by Aidan Skinner.Martin Ritchie2007-09-281-8/+15
| | | | | | ResetMessageListenerTest.java was changing the prefetch method via a system property that propogated to all tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@580258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-596 : ConnectionStartTest was broken. I've fixed it but here is the ↵Martin Ritchie2007-09-271-19/+34
| | | | | | | | | | | | | | | | | | | | | | | problem for those like me that like to know why: Previously: The setUp method created a producer connection and then sent a message - This will result in that message being bounced as there is no consumer. The first test should fail but the test was wrong, which caused it to pass. There was an assert that was expecting the receive a message yet the test was recieve() == null !!!! The second test worked because the broker was not killed between tests This left the queue created so on the second run the message was delivered causing the test to succeed. Now: Fixed the InVM broker setup/teardown so the client is created first and the broker removed at the end of the test. Also updated the asserts to be more explicit rather than having the == null or !=null put that as assertNull/NotNull. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@580022 13f79535-47bb-0310-9956-ffa450edef68
* Update for three tests that don't remove their VMBrokerMartin Ritchie2007-09-263-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@579709 13f79535-47bb-0310-9956-ffa450edef68
* Updated TransportConnection to synchronize around the creation/destruction ↵Martin Ritchie2007-09-261-0/+7
| | | | | | | | | | of VM Brokers. I had observed a ConcurrentModificationException in the KillAllVMBrokers(). This isn't good this suggests that the tests are overlapping. This fix won't address that problem but will stop any CModifications occuring. If there is test setup/teardown overlapping we should now see tests failing because the VM broker isn't there. Potentially addresses VM issues in QPID-596 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@579577 13f79535-47bb-0310-9956-ffa450edef68
* QPID-612 : Use same scheme for every creation of temporary queue namesRobert Godfrey2007-09-241-120/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@578845 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions ↵Rupert Smith2007-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 575663-575687,575689-576860,576862-577192,577194-577315,577317-577659,577661-578047,578049-578060,578062-578604 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/branches/M2 ........ r575663 | rgodfrey | 2007-09-14 13:43:13 +0100 (Fri, 14 Sep 2007) | 1 line QPID-600 : Deadlock on connection.close ........ r577931 | rgreig | 2007-09-20 22:26:37 +0100 (Thu, 20 Sep 2007) | 1 line Adding timeouts to two wait() calls to prevent hanging ........ r578258 | rgreig | 2007-09-21 21:31:18 +0100 (Fri, 21 Sep 2007) | 1 line QPID-607: dispatcher threads now poll so that the can die when the connection is closed. ........ r578475 | rgreig | 2007-09-22 20:01:59 +0100 (Sat, 22 Sep 2007) | 1 line QPID-608 Fix the test by adding in creation of the VM broker ........ r578509 | rgreig | 2007-09-22 23:05:30 +0100 (Sat, 22 Sep 2007) | 1 line QPID-609 : dispatcher thread was being restarted by the code that closed the consumer due to the receipt of a basic.cancel frame. Move the dispatcher shutdown to the end of the consumer close process. Also rename the dispatcher _closed field since it clashes with a field in the container class. ........ r578604 | rgreig | 2007-09-23 22:29:33 +0100 (Sun, 23 Sep 2007) | 4 lines QPID-589: avoid the deadlock between the session close and the BasicCancelOkHandler by not sending a BasicCancel when the session is being closed. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@578745 13f79535-47bb-0310-9956-ffa450edef68
* Merged revision 572751 from the trunk, this fixes QPID-573.Rafael H. Schloming2007-09-141-21/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@575788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-572 Applied test patch supplied by Aidan Skinner along with change to ↵Martin Ritchie2007-09-121-0/+152
| | | | | | ConcurrentSelectorDeliveryManager that resolves the ordering problem. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@574902 13f79535-47bb-0310-9956-ffa450edef68
* QPID-584 : Client exceptions are now presented via any set Exception Listener Martin Ritchie2007-09-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@574266 13f79535-47bb-0310-9956-ffa450edef68
* Update fix incorrect license headers.Martin Ritchie2007-07-181-11/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@557306 13f79535-47bb-0310-9956-ffa450edef68
* Caused each of these tests to run 10 times to help identify any race ↵Martin Ritchie2007-06-272-45/+90
| | | | | | | | conditions that were occuring. Updated the CommitRollbackTest to be more robust in the detection of failure. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@551174 13f79535-47bb-0310-9956-ffa450edef68
* Various License header updates.Martin Ritchie2007-06-184-0/+84
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@548276 13f79535-47bb-0310-9956-ffa450edef68
* Removed log4j dependency from client. Using slf4j instead, end-user to ↵Rupert Smith2007-06-1133-988/+987
| | | | | | supply logging implementation as desired. Log4j used for tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@546190 13f79535-47bb-0310-9956-ffa450edef68
* QPID-402: FailoverException falling through to client. All blocking ↵Rupert Smith2007-06-014-143/+126
| | | | | | operations now wrapped in failover support wrappers. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@543496 13f79535-47bb-0310-9956-ffa450edef68
* QPID-466 Updated FieldTable to ensure no Decimal value is set that is larger ↵Martin Ritchie2007-05-071-1/+25
| | | | | | | | | | than can be transmitted over AMQP. That is a max scale value of Byte.MAX_VALUE and value of up to Integer.MAX_VALUE. Additional tests to ensure this is the case. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@535809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-466 Changes to FieldTable along with corresponding PropertyValueTest to ↵Martin Ritchie2007-05-042-6/+42
| | | | | | limit the Java client to only AMQP 0-8 compliant values. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@535309 13f79535-47bb-0310-9956-ffa450edef68
* QPID-461 Update to CommitRollbackTest. Ensuring messages received have the ↵Martin Ritchie2007-05-011-7/+27
| | | | | | correct redelivered value, regardless of order. Different test case also was problematic. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@534036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-461 Update to CommitRollbackTest. Ensuring messages received have the ↵Martin Ritchie2007-04-301-14/+14
| | | | | | correct redelivered value, regardless of order. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533765 13f79535-47bb-0310-9956-ffa450edef68
* QPID-476 : Remove duplicate map of channelId to sessionRobert Godfrey2007-04-301-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533721 13f79535-47bb-0310-9956-ffa450edef68
* Updated MLT to have variables that define the BROKER and VHOST used and ↵Martin Ritchie2007-04-271-23/+30
| | | | | | White space git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533079 13f79535-47bb-0310-9956-ffa450edef68
* ResetMessageListenerTest - needs to have IMMEDIATE_PREFETCH = true.Martin Ritchie2007-04-231-12/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531527 13f79535-47bb-0310-9956-ffa450edef68
* Comment updates on the origin of the testsMartin Ritchie2007-04-231-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531517 13f79535-47bb-0310-9956-ffa450edef68
* QPID-472 - Creation of TemporaryQueues will not guarantee unique queue names ↵Martin Ritchie2007-04-231-4/+131
| | | | | | | | if created rapidly. Updated TemporaryQueueTest.java so that it checks Headers/Queue/Topic for unroutable/mandatory messages beig returned. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531512 13f79535-47bb-0310-9956-ffa450edef68
* Reinstated the two consumer receive test. Martin Ritchie2007-04-202-23/+119
| | | | | | Added additional test class to cover the IMMEDIATE_PREFETCHs. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530683 13f79535-47bb-0310-9956-ffa450edef68
* Additional test to ensure connection closure doesn't cause problems.Martin Ritchie2007-04-191-0/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530449 13f79535-47bb-0310-9956-ffa450edef68
* Committed test with localhost as the brokerMartin Ritchie2007-04-191-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530447 13f79535-47bb-0310-9956-ffa450edef68
* Added Test logging to aid in diagnosing problemsMartin Ritchie2007-04-191-2/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530438 13f79535-47bb-0310-9956-ffa450edef68
* QPID-459 - NoLocal broken when messages already exist on queue from ↵Martin Ritchie2007-04-191-19/+100
| | | | | | | | | | consumer. With test. TopicSessionTest - Additional testing for NoLocal to ensure. Forgot to include the file in the commit. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530437 13f79535-47bb-0310-9956-ffa450edef68
* QPID-455 - Guarded test with a check until a full solution is foundMartin Ritchie2007-04-181-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530052 13f79535-47bb-0310-9956-ffa450edef68
* ResetMessageListenerTest was using the wrong queue for running tests. This ↵Martin Ritchie2007-04-181-1/+1
| | | | | | | | was causing problems during testing. Changed queue to use ResetMessageListenerTest queue git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530048 13f79535-47bb-0310-9956-ffa450edef68
* Fix for intermittent CRT expected <1> but was <2> errorsMartin Ritchie2007-04-181-6/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-457 Fixed rollback inTran problem with test caseMartin Ritchie2007-04-181-0/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-455 Prefetched messages can cause problems with client tools.Martin Ritchie2007-04-175-37/+81
| | | | | | | | | | | | | | | AMQSession - suspend channel at startup until start() and recieve/setMessageListener are called. BasicMessageConsumer - mainly style sheet changes MessageListenerMultiConsumerTest - removed one test case as we cannot ensure round-robin effect at start up .. added test case for only c2 consuming when c1 does nothing. MessageListenerTest - added new test that can demonstrate a further bug of message 'loss' when a receive is called only once before a message listener is set. Prefetched message end up on _SynchronousQueue regression of QPID-293 as of r501004. MessageRequeueTest - Was missing a conn.start() DurableSubscriptionTest - Removed blocking receives() so we don't block on failure CommitRollbackTest - Text message was wrong on testGetThenDisconnect tests so adjusted git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@529666 13f79535-47bb-0310-9956-ffa450edef68
* QPID-451 Throw InvalidDestinationException on attempt to publish to a Queue ↵Robert Godfrey2007-04-121-0/+109
| | | | | | | | | which does not exist Changed QueueSenderAdapter to check if the routing key is bound to a queue on the given exchange. The checking can be turned off by setting the system property org.apache.qpid.client.verifyQueueBindingBeforePublish to anything but true git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527876 13f79535-47bb-0310-9956-ffa450edef68