siddi-execution-stats-tests

Tests passed/Failed/Skipped:14/0/0
Started on:Wed Jun 13 18:25:43 UTC 2018
Total time:1 seconds (1386 ms)
Included groups:
Excluded groups:

(Hover the method name to see the test class name)

PASSED TESTS
Test method Exception Time (seconds) Instance
test1
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase@37ed010a
test10
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f6798e6b-b32d-4b48-8558-0e3722083272' @ Line: 1. Position: 158, near 'stats:median(tt)'.
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:437)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase.test10(MedianAttributeAggregatorTestCase.java:558)
Caused by: org.wso2.siddhi.core.exception.OperationNotSupportedException: Median not supported for STRING
	at org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregator.init(MedianAttributeAggregator.java:108)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'f6798e6b-b32d-4b48-8558-0e3722083272' @ Line: 1. Position: 158, near 'stats:median(tt)'.
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:437)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase.test10(MedianAttributeAggregatorTestCase.java:558)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.core.exception.OperationNotSupportedException: Median not supported for STRING
	at org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregator.init(MedianAttributeAggregator.java:108)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase@37ed010a
test2
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase@37ed010a
test3
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase@37ed010a
test4
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase@37ed010a
test5
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase@37ed010a
test6
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase@37ed010a
test7
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase@37ed010a
test8
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase@37ed010a
test9
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '619fa436-862d-4b61-a88b-0faf79cc89ec' @ Line: 1. Position: 154, near 'stats:median()'.
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:437)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase.test9(MedianAttributeAggregatorTestCase.java:545)
Caused by: org.wso2.siddhi.core.exception.OperationNotSupportedException: Median aggregator has to have exactly 1 parameter, currently 0 parameters are provided
	at org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregator.init(MedianAttributeAggregator.java:87)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
... Removed 28 stack frames
Click to show all stack frames
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '619fa436-862d-4b61-a88b-0faf79cc89ec' @ Line: 1. Position: 154, near 'stats:median()'.
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:55)
	at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:437)
	at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:181)
	at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:88)
	at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
	at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:243)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:65)
	at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:74)
	at org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase.test9(MedianAttributeAggregatorTestCase.java:545)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:744)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
	at org.testng.TestNG.runSuites(TestNG.java:1144)
	at org.testng.TestNG.run(TestNG.java:1115)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.wso2.siddhi.core.exception.OperationNotSupportedException: Median aggregator has to have exactly 1 parameter, currently 0 parameters are provided
	at org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregator.init(MedianAttributeAggregator.java:87)
	at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:53)
	... 36 more
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase@37ed010a
testPersistence1
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase@b25b095
testPersistence2
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase@b25b095
testPersistence3
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase@b25b095
testPersistence4
Test class: org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase
0 org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase@b25b095