You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Malaka Mahanama (JIRA)" <ji...@apache.org> on 2014/05/10 23:58:34 UTC

[jira] [Resolved] (USERGRID-142) Some unit tests are not running in the project

     [ https://issues.apache.org/jira/browse/USERGRID-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Malaka Mahanama resolved USERGRID-142.
--------------------------------------

    Resolution: Invalid

My bad, it was a local environment issue. Having a space in your repo path doesn't help either.

> Some unit tests are not running in the project
> ----------------------------------------------
>
>                 Key: USERGRID-142
>                 URL: https://issues.apache.org/jira/browse/USERGRID-142
>             Project: Usergrid
>          Issue Type: Story
>          Components: Stack
>    Affects Versions: 1.0
>            Reporter: Malaka Mahanama
>            Assignee: Malaka Mahanama
>             Fix For: 1.1
>
>
> Test classes in the core like 'QueryUtilsTest.Java'  run fine but some classes like the 'PathQueryIT.Java' , 'CollectionIT.Java' etc give errors. 
> *Error:* 2014-05-09 00:39:43,696 ERROR (main) [org.apache.cassandra.cql3.QueryProcessor] - Unable to initialize MemoryMeter (jamm not specified as javaagent).  This means Cassandra will be unable to measure object sizes accurately and may consequently OOM.
> Analysis shows that the system has trouble finding the *jamm-0.2.5.jar* .
> The POM files will need to be changed to reference the proper jar, example : 
>  <argLine>-Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar </argLine>
> The argument to *javaagent* will need to be changed in all the appropriate places.



--
This message was sent by Atlassian JIRA
(v6.2#6252)