[gatein-issues] [JBoss JIRA] (GTNPORTAL-3522) Failed testRemoteGadget when build gatein portal-3.5.x with unstable internet connection

Trong Tran (JIRA) issues at jboss.org
Sun Aug 17 23:29:30 EDT 2014


     [ https://issues.jboss.org/browse/GTNPORTAL-3522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trong Tran reassigned GTNPORTAL-3522:
-------------------------------------

    Assignee: Trong Tran


> Failed testRemoteGadget when build gatein portal-3.5.x with unstable internet connection
> ----------------------------------------------------------------------------------------
>
>                 Key: GTNPORTAL-3522
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-3522
>             Project: GateIn Portal
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Tran Trung Thanh
>            Assignee: Trong Tran
>             Fix For: 3.9.0.Final
>
>
> In some cases, when the internet connection is not stable, build failure gatein 3.5
> {noformat}
> Test set: org.exoplatform.application.gadget.TestGadgetRegistryService
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 19.27 sec <<< FAILURE!
> testRemoteGadget(org.exoplatform.application.gadget.TestGadgetRegistryService)  Time elapsed: 5.102 sec  <<< ERROR!
> java.io.IOException
> 	at org.exoplatform.application.gadget.GadgetImporter.doImport(GadgetImporter.java:93)
> 	at org.exoplatform.application.gadget.TestGadgetRegistryService$TestGadgetImporter.doImport(TestGadgetRegistryService.java:176)
> 	at org.exoplatform.application.gadget.TestGadgetRegistryService.testRemoteGadget(TestGadgetRegistryService.java:84)
> {noformat}
> The problem comes from link http://www.labpixies.com/campaigns/weather/weather.xml in *testRemoteGadget* function of *TestGadgetRegistryService* class, sometime I can't access to this link.
> {noformat}
> [11:51:23-451][INFO] GadgetImporter Importing gadget name=local_test description=__MSG_description__ thumbnail=http://www.labpixies.com/campaigns/weather/images/thumbnail.jpg title=http://www.labpixies.com/campaigns/weather/images/thumbnail.jpg title=__MSG_gTitle__ 
> [11:51:23-475][INFO] TestGadgetRegistryService Unit test testLocalGadget completed 
> [11:51:23-479][INFO] TestGadgetRegistryService Running unit test:testRemoteGadget 
> [11:51:28-526][SEVERE] GadgetImporter Cannot import gadget http://www.labpixies.com/campaigns/weather/weather.xml because its data could not be found 
> [11:51:28-527][SEVERE] TestGadgetRegistryService Unit test testRemoteGadget did not complete java.io.IOException
> 	at org.exoplatform.application.gadget.GadgetImporter.doImport(GadgetImporter.java:93)
> 	at org.exoplatform.application.gadget.TestGadgetRegistryService$TestGadgetImporter.doImport(TestGadgetRegistryService.java:176)
> 	at org.exoplatform.application.gadget.TestGadgetRegistryService.testRemoteGadget(TestGadgetRegistryService.java:84)
> {noformat} 



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the gatein-issues mailing list