Test | # Passed | # Skipped | # Failed | Time (ms) | Included Groups | Excluded Groups |
---|---|---|---|---|---|---|
Siddi-execution-stats-Test-Suite | ||||||
siddi-execution-stats-tests | 14 | 0 | 0 | 1,078 |
Class | Method | Start | Time (ms) |
---|---|---|---|
Siddi-execution-stats-Test-Suite | |||
siddi-execution-stats-tests — passed | |||
org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase | testPersistence1 | 1536070394161 | 85 |
testPersistence2 | 1536070394247 | 15 | |
testPersistence3 | 1536070394263 | 10 | |
testPersistence4 | 1536070394273 | 15 | |
org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase | test1 | 1536070393240 | 839 |
test10 | 1536070394080 | 8 | |
test2 | 1536070394097 | 8 | |
test3 | 1536070394105 | 7 | |
test4 | 1536070394112 | 6 | |
test5 | 1536070394120 | 9 | |
test6 | 1536070394130 | 8 | |
test7 | 1536070394138 | 8 | |
test8 | 1536070394146 | 6 | |
test9 | 1536070394152 | 6 |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '020908f1-86e3-4efe-9276-3cab4ee14f19' @ 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:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
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 |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '7be09a3d-0130-4ca2-bdc2-4724b32dbff5' @ 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:194)
at org.wso2.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:90)
at org.wso2.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:115)
at org.wso2.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:242)
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 |