+1 . And also is there a need to run   ' JMSQueuesSequentialTestCase ' with
10000 messages. Can't we use 1000 to guarantee the  sequence of messages?
We can do the proposed by editing
/carbon/platform/branches/4.1.0/products/mb/2.1.0/modules/integration/src/test/conf/mb-jms-tests.xml

But then there is some other problem also. Why does the message delivery
get delayed because of the messages published for some other queue? If so,
worth investigating.

Thanks


On Sun, Jun 2, 2013 at 7:50 PM, Ishara Premadasa <[email protected]> wrote:

> @ Shammi,
>
> I was looking into this test failure and it seems the failed test which is
> JMSQueueSubscribePublishTestCase has no errors but fails due to there are
> no any messages received at the Message Listener end, hence the assertion
> fails.
>
> The reason for this is in the previous test case '
> JMSQueuesSequentialTestCase ' there are 10000 messages published into the
> queue and because of this there is a latency in delivering the messages
> into the queues. Because of this the messages published for the
> JMSQueueSubscribePublishTestCase will not be received in the message
> listeners' end within the configured waiting time.
>
> We can simply move the JMSQueuesSequentialTestCase to be run as final test
> and state in a comment that 'always run this test as the last' which will
> fix this. I also tried that reducing the published message count upto 5000
> in JMSQueuesSequentialTestCase and it worked too. WDYT?
>
> Thanks!
> Ishara
>
>
> On Fri, May 31, 2013 at 10:34 AM, Shammi Jayasinghe <[email protected]>wrote:
>
>> Hi Nuwan,
>>
>> Sure , we ll look in to this. For the moment we have to comment out the
>> test case and will add it once
>> properly fixing.
>>
>> Thanks
>> Shammi
>>
>>
>> On Fri, May 31, 2013 at 8:40 AM, Nuwan Dias <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> When building the patch-releases/4.1.2 we have encountered a test
>>> failure at MB integration tests. Can we have this fixed please?
>>>
>>> BTW, is MB being released today?
>>>
>>> Surefire Report attached.
>>>
>>> [INFO] WSO2 Message Broker - Distribution ................ SUCCESS
>>> [1:04.844s]
>>> [INFO] WSO2 MB - Integration Tests ....................... FAILURE
>>> [5:14.530s]
>>> [INFO] WSO2 Business Activity Monitor .................... SKIPPED
>>> [INFO] WSO2 Business Activity Monitor Styles Parent ...... SKIPPED
>>> [INFO] WSO2 BAM UI styles ................................ SKIPPED
>>> [INFO] WSO2 BAM UI styles ................................ SKIPPED
>>> [INFO] WSO2 Stratos - Cloud BAM Login User Interface ..... SKIPPED
>>> [INFO] WSO2 Stratos - Cloud BAM Dashboard User Interface . SKIPPED
>>> [INFO] WSO2 Business Activity Monitor Features Parent .... SKIPPED
>>> [INFO] WSO2 BAM - Features Aggregator Module ............. SKIPPED
>>> [INFO] WSO2 BAM - Style Features ......................... SKIPPED
>>> [INFO] WSO2 BAM - Style Features ......................... SKIPPED
>>> [INFO] WSO2 Carbon - Cloud BAM UI Feature ................ SKIPPED
>>> [INFO] WSO2 Carbon - Cloud BAM Dashboard UI Feature ...... SKIPPED
>>> [INFO] WSO2 BAM - Features Aggregator Module ............. SKIPPED
>>> [INFO] WSO2 Business Activity Monitor P2 Profile Generation  SKIPPED
>>> [INFO] WSO2 BAM Sample ................................... SKIPPED
>>> [INFO] WSO2 BAM Toolbox .................................. SKIPPED
>>> [INFO] WSO2 BAM Migration ................................ SKIPPED
>>> [INFO] migration ......................................... SKIPPED
>>> [INFO] WSO2 Business Activity Monitor - Product .......... SKIPPED
>>> [INFO] WSO2 BAM Integration .............................. SKIPPED
>>> [INFO] WSO2 BAM - Integration Test ....................... SKIPPED
>>> [INFO] WSO2 Carbon - Patch releases - products - Aggregator Module
>>>  SKIPPED
>>> [INFO] WSO2 Platform Automated Suite - Parent project .... SKIPPED
>>> [INFO] WSO2 Platform Automated Suite - Artifact Repository  SKIPPED
>>> [INFO] WSO2 Platform Automated Suite - Executor .......... SKIPPED
>>> [INFO] WSO2 Platform Automated Suite - Platform scenarios  SKIPPED
>>> [INFO] WSO2 Platform Automated Suite - Distribution ...... SKIPPED
>>> [INFO] WSO2 Carbon - Patch releases - Platform Automated Test Suite
>>>  SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 55:44.598s
>>> [INFO] Finished at: Thu May 30 10:59:26 PDT 2013
>>> [INFO] Final Memory: 2241M/3527M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
>>> project mb-integration-tests: There are test failures.
>>> [ERROR]
>>> [ERROR] Please refer to
>>> /home/wso2/4.1.0/temp/platform/4.1.0/products/mb/2.1.0/modules/integration/target/surefire-reports
>>> for the individual test results.
>>> [ERROR] -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>>
>>>
>>> --
>>> Nuwan Dias
>>>
>>> Senior Software Engineer - WSO2, Inc. http://wso2.com
>>>  email : [email protected]
>>> Phone : +94 777 775 729
>>>
>>
>>
>>
>> --
>> Best Regards,*
>>
>> Shammi Jayasinghe*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com,
>> mobile: +94 71 4493085
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ishara Premasada
> Software Engineer, Integrations TG
> WSO2 Inc. http://wso2.com/
> *Blog   :  http://isharapremadasa.blogspot.com/
> Twitter       :  https://twitter.com/ishadil
> Mobile       : +94 714445832*
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Hasitha Abeykoon*
Software Engineer; WSO2, Inc.; http://wso2.com
*cell:* *+94 719363063*
*blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com>* *
*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to