summaryrefslogtreecommitdiff
path: root/qpid/java/systests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3986 : [Java Broker] Add producer flow control based on total disk usageRobert Godfrey2012-05-071-0/+347
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335290 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3864: add missing licence headers to files in the java tree that are ↵Robert Gemmell2012-04-192-0/+40
| | | | | | included in 0.16 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327905 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923: Store queue, exchange and binding as configured objects in bdb storeRobert Gemmell2012-04-171-4/+5
| | | | | | Applied patch by Oleksandr Rudyy <orudyy@gmail.com>, Phil Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327003 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3917 : Refactor changes to MessageStore to use listeners and not decoratorsRobert Godfrey2012-04-122-9/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1325467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3911: Fix deadlock on concurrent invocation of MessageConsumer#close() ↵Robert Gemmell2012-04-061-0/+57
| | | | | | | | | | | | | | and Session#rollback() from consumer MessageListener This patch contains the following changes: - Add synchronization on AMSession#_messageDeliveryLock into MessageConsumer#close() in order to block until message listener in progress has completed(as required in JMS javadoc for MessageConsumer#close()). - Change the session dispatcher to stop messages delivery into consumer local message queue if the consumer in the process of closing. This eliminates the need to stop the dispatcher on rejecting pending messages for closing consumer. - Remove the synchronization on the dispatcher lock from AMQSession.Dispatcher#rejectPending and code to stop the dispatcher, as we are synchronizing on the deliveryLock now and incoming messages are not dispatched into closing consumers anymore. - Add a system test to reproduce the deadlock and verify its resolution. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1310275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3933 : [Java] Add interim AMQP 1-0 implementationRobert Godfrey2012-04-042-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3929: remove old perftests + integrationtests + junit-toolkit modules ↵Robert Gemmell2012-04-0455-9471/+1
| | | | | | and associated files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3927: add a systest which would highlight the underlying issue by ↵Robert Gemmell2012-04-031-0/+100
| | | | | | failing to receive all messages present on the priority queue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309155 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3917: Refactor VirtualHost/MessageStore implementations to be ready for ↵Keith Wall2012-03-3011-792/+91
| | | | | | | | BDB-HA Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3916: Change message store interface to extend ↵Keith Wall2012-03-301-13/+5
| | | | | | | | DurableConfigurationStore and change VirtualHost contructor Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307317 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: QpidBrokerTestCase - minor improvementsKeith Wall2012-03-304-31/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307316 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3904: Java client should set AMQConnection#_closed flag on receipt of ↵Keith Wall2012-03-211-0/+17
| | | | | | 0-10 connection.close git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1303360 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3895: Remove blocked channel/session from the list of blocked channels ↵Keith Wall2012-03-191-2/+34
| | | | | | | | | | | | | on channel/session close This patch adds the fllowing: - fixes AMQChannel to stop sending flow commands if channel is closing - fixes AMQChannel#compareTo ServerSession#compareTo - removes AMQSessionModel#getID() method from AMQChannel and Server session in order to avoid confusions Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1302455 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3751 I had missed this file when I was applying Weston's patch.Rajith Muditha Attapattu2012-03-131-0/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300156 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3894: MessageListener test improvmentsKeith Wall2012-03-119-1102/+497
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299425 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3873: update test additions to fix defects around deliverymode ↵Robert Gemmell2012-03-111-41/+10
| | | | | | variation, reduce the unecessarily large number of messages sent, remove the effectively duplicate tests using topics git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299396 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3873: Add tests to verify that publishing of unroutable messages does ↵Robert Gemmell2012-03-111-0/+66
| | | | | | | | | not cause long running store transactions Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299395 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3751 Committing patch from Weston Price.Rajith Muditha Attapattu2012-03-081-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3867: ManagedQueueMBeanTest, fix test issue causing sporadic failure on ↵Keith Wall2012-03-011-7/+12
| | | | | | some CI instances git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295574 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3605: update test comments to reflect change in broker behaviour after ↵Robert Gemmell2012-03-011-2/+4
| | | | | | the changes in this JIRA git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295348 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3605 : renamed method, corrected brace style for ifs, added tests (per ↵Robert Godfrey2012-02-291-1/+64
| | | | | | Robbies review comments) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295341 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2418: fix up issues and enable forgotten test for 0-10 persistent ↵Robert Gemmell2012-02-291-11/+8
| | | | | | broker profiles git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3867: Address review comment from Robbie GemmellKeith Wall2012-02-281-2/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294895 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3605 : [Java Broker] Durable subscriber with no-local true receives ↵Robert Godfrey2012-02-281-4/+3
| | | | | | messages on re-connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294884 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2621 : [Java Client] Calling QueueBrowser.getEnumeration on a stopped ↵Robert Godfrey2012-02-271-0/+17
| | | | | | connection will hang git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294397 13f79535-47bb-0310-9956-ffa450edef68
* QPID-792 : [Java Client] Validate queue browser selector on client side, not ↵Robert Godfrey2012-02-272-7/+9
| | | | | | broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294194 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3774: AcknowlegdeTest should also sync after sending more ↵Keith Wall2012-02-271-7/+11
| | | | | | non-transactional messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-509 : [Java Client] Messages sent to topics should not default to mandatoryRobert Godfrey2012-02-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294144 13f79535-47bb-0310-9956-ffa450edef68
* QPID-509 : [Java Client] Messages sent to topics should not default to mandatoryRobert Godfrey2012-02-271-9/+89
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3867: AMQQueueMBean#clearQueue|moveMessages|copyMessages should be ↵Keith Wall2012-02-261-20/+219
| | | | | | | | | certain to rollback transactions in the event of exception Added finally{} block so txn will be rolled back in the event of any non-normal completion. Refactored the AMQQueue abstraction so that the caller no longer has to provide a server transaction for move and copy operations. Bolstered the system tests around copy and move JMX management operations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1293951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1199 : [Java Client] Can not (actually you can) append to BytesMessage ↵Robert Godfrey2012-02-231-0/+43
| | | | | | | | after send Add test from JIRA to test suite showing problem no longer occurs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1293034 13f79535-47bb-0310-9956-ffa450edef68
* AMQP-24 : [Java Broker] Implement distributed transactions for AMQP 0-10Robert Godfrey2012-02-235-26/+73
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292984 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3865: Remove unreliable CancelTestKeith Wall2012-02-221-101/+0
| | | | | | | | This test case is seen to fail occasionally on a slower CI box. The failure is a test issue; it uses a non-transactional producer to send the single test message, so the message may not have made it to the broker by the time the QueueBrowser is created. When the test fails, the browser sees no messages. The test won't be fixed as the test is duplicated by the better QueueBrowser*Test which uses a transactional publisher. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292207 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3728: remove uncessary restriction on checking against 'internal' brokersRobert Gemmell2012-02-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291455 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3827: FirewallConfigTests fail on FreeBSD Jenkins CI due to peer IP ↵Keith Wall2012-02-181-14/+26
| | | | | | reported as non-loopback git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1290908 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added extra logging to better understand FailoverMethodTest failure ↵Keith Wall2012-02-181-23/+18
| | | | | | on Apache Jenkins Freebsd slaves. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1245926 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3840: corrected qpid-passwd and qpid-run to handle paths with spaces in ↵Keith Wall2012-02-151-2/+10
| | | | | | | | them. Modified unit test to capture stderr to aid diagnosis of failures. Applied patch from Andrew MacBean <andymacbean@gmail.com> and Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1244535 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3840: added automated tests for the Java Broker's qpid-passwd script ↵Keith Wall2012-02-151-0/+67
| | | | | | | | and Passwd class Applied patch from Andrew MacBean <andymacbean@gmail.com> and Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1244406 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3825: TransactionTimeoutTests sporadically failKeith Wall2012-02-131-2/+3
| | | | | | Increase the tolerance around the number of received alert messages to allow for running on slower CI box. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243448 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3803: increase receive() timeout on persistent runs, newest failure log ↵Robert Gemmell2012-02-131-7/+8
| | | | | | shows the consumer timed out while recieving, before the publisher completed sending all the messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243382 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3440: add test to verify issue by ensuring that the reply-to ↵Robert Gemmell2012-02-131-41/+25
| | | | | | Destination cache results in use of the same Destination objects for subsequent messages. Implement equals() and hashCode() for the generated ReplyTo class to let it function properly as an index in the hashmap to resolve the issue. Update PropertyValueTest to remember the initial reply-to destination it sets and compare it with the value returned after sending/receiving the message, rather than constituting its own test destination for comparison. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243380 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3829: use a seperate object for reference checking to stop the ↵Robert Gemmell2012-02-131-141/+30
| | | | | | | | | AMQMessage holding its underlying 0-8/0-9/0-9-1 connection/io objects in memory after they are closed. Also stops an NPE on the 0-8/0-9/0-9-1 subscriptions when evaluating no-local after store recovery. Enables NoLocalAfterRecoveryTest again, though updated to make it simpler and more reliable. This test should be removed if changes for QPID-3605 are undertaken. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243379 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3803: System tests SortedQueueTest fail ocasionally on slow machinesKeith Wall2012-02-101-31/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242716 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3825: TransactionTimeoutTest.testProducerOpenCommit and others fails ↵Keith Wall2012-02-091-2/+8
| | | | | | | | | sporadically on slower boxes The test needs to sync() after sending the last test message in order that the test and broker start measuring the idle transaction from the same point in time. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242399 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3819: ExhaustiveACLTests seen to timeoutKeith Wall2012-02-093-126/+127
| | | | | | | | | Backout changes to AMQStateManager made by QPID-3512 as these changes were causing the client to hang for 30 seconds after the Broker closed connection due to ACL violation. Refactored ConnectionCloseTest (now called BrokerClosesClientConnectionTest) to avoid the sporadic failure by verifying that the closed connection is reported correctly to the client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242338 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3820: Sporadic failures from ProducerFlowControlTestKeith Wall2012-02-081-2/+2
| | | | | | | | The tests rely on a sync() to make sure the Broker has received the sent messages and has had a chance to invoke flow-control. However, a defect in tests testClientLogMessages and testSendTimeout meant that an inactive session was actually being sync'd, rather than the one used to produce the messages. This will probably explain the sporadic failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3820: ProducerFlowControlTest#testSendTimeout test fails sprodically on ↵Keith Wall2012-02-071-141/+85
| | | | | | 0-10 profiles git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3818: Replace CombinedTest and its support classes with a simpler ↵Keith Wall2012-02-076-466/+169
| | | | | | test-case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241431 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3816: add client version to connection open loggingRobert Gemmell2012-02-061-6/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3815: update test to expose the issue, we no longer log both the ↵Robert Gemmell2012-02-061-18/+5
| | | | | | (unsupported) 0-10 and subsequent 0-9-1 connection attempts on the 0-9-1 profiles, so the test can now expect a precise number of messages on every profile git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240867 13f79535-47bb-0310-9956-ffa450edef68