Test | # Passed | # Skipped | # Failed | Time (ms) | Included Groups | Excluded Groups |
---|---|---|---|---|---|---|
Siddi-execution-stats-Test-Suite | ||||||
siddi-execution-stats-tests | 14 | 0 | 0 | 1,106 |
Class | Method | Start | Time (ms) |
---|---|---|---|
Siddi-execution-stats-Test-Suite | |||
siddi-execution-stats-tests — passed | |||
org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase | testPersistence1 | 1513287183793 | 95 |
testPersistence2 | 1513287183889 | 34 | |
testPersistence3 | 1513287183924 | 42 | |
testPersistence4 | 1513287183966 | 10 | |
org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase | test1 | 1513287182941 | 762 |
test10 | 1513287183706 | 10 | |
test2 | 1513287183717 | 15 | |
test3 | 1513287183732 | 8 | |
test4 | 1513287183740 | 11 | |
test5 | 1513287183752 | 7 | |
test6 | 1513287183759 | 8 | |
test7 | 1513287183768 | 6 | |
test8 | 1513287183774 | 10 | |
test9 | 1513287183785 | 4 |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c4595f3a-68c4-49a4-b699-634b953b4919' @ 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:236)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
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 '4b3ea7a3-bed8-4e49-829b-65f40e992c04' @ 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:236)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:64)
at org.wso2.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:73)
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 |