Re: [Dev] [MB] Issue when writing dlc related test cases in integration test suite

2015-03-23 Thread Indika Sampath
Hi Pumudu, Did you enabled following configuration in broker.xml before test run ? This is by default commented. messageStore class=org.wso2.andes.store.rdbms.h2.H2MemMessageStoreImpl /messageStore contextStore

[Dev] [MB] Issue when writing dlc related test cases in integration test suite

2015-03-23 Thread Pumudu Ruhunage
Hi, I came across following issue while writing integration test case for dlc queue path. following are the steps of the test case. 1. Start queue subscriber to dlctenant1.com/tenantQueue, user 'dlctenantuser' at 'dlctenant1.com' domain (this subscriber has set to client acknowledgement mode as

Re: [Dev] [MB] Issue when writing dlc related test cases in integration test suite

2015-03-23 Thread Asitha Nanayakkara
In H2 in memory mode we don't have the queues created on H2 embedded mode but have the tenant user details in registry. SInce we use embedded carbon db. Therefore before we do the H2 in memory mode I think we need unpack a fresh pack an go through the tenant user creation process. In addition to

Re: [Dev] [MB] Issue when writing dlc related test cases in integration test suite

2015-03-23 Thread Pumudu Ruhunage
Hi, +1 for Asitha's suggestion. @Indika, currently test suite replace the original broker.xml with another broker.xml with these h2 in-mem settings and server restarts in org.wso2.mb.integration.tests.amqp.functional.StartH2MemMode class. After server restarts successfully h2 in-memory tests