On Mon, Mar 23, 2015 at 12:42 PM, Dinithi De Silva <[email protected]>
wrote:

> Hi,
>
> Hi Dinithi,


> While trying to build siddhi 2.0.0-wso2v4 module, I got the following
> issue.
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
> (default-testCompile) on project siddhi-core: Compilation failure
> [ERROR]
> /Users/imesh/dev/wso2/svn/siddhi/2.0.0-wso2v5/modules/siddhi-core/src/test/java/org/wso2/siddhi/test/standard/table/rdbms/BasicDataSource.java:[30,7]
> error: BasicDataSource is not abstract and does not override abstract
> method getParentLogger() in CommonDataSource
> [ERROR] -> [Help 1]
>
> I assume this was because "modules/siddhi-core/src/test/
> java/org/wso2/siddhi/test/standard/table/rdbms/BasicDataSource.java" has
> not implemented "getParentLogger()" method.
> So I have implemented that method and observed the following test was fail.
>
> Failed tests:
>   SnapshotOutputRateLimitTestCase.testSnapshotOutputRateLimitQuery10:456
> Number of output event value expected:<4> but was:<5>
>   SnapshotOutputRateLimitTestCase.testSnapshotOutputRateLimitQuery18:804
> Number of output event bundles expected:<4> but was:<5>
>   SnapshotOutputRateLimitTestCase.testSnapshotOutputRateLimitQuery19:850
> Number of output event bundles expected:<4> but was:<5>
>
> Can someone please help me with this issue?
>

As I mentioned in offline.. You need to build Siddhi 2.0.0-wso2v4 in jdk
1.6. You will encounter above issue only when building siddhi in jdk 1.7 ..
Regarding the test cases, they are highly depend on machine performance. I
think, you can neglect above three tesecases. They are running without any
issue in my machine..

Thanks,
Mohan




> Thank you.
>
>
> --
> *Dinithi De Silva*
> Associate Software Engineer, WSO2 Inc.
> m:+94716667655 | e:[email protected] | w: www.wso2.com
> | a: #20, Palm Grove, Colombo 03
>



-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com <http://wso2.com> *
*lean.enterprise.middleware.*

email: [email protected]
phone:(+94) 771117673
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to