Test | # Passed | # Skipped | # Failed | Time (ms) | Included Groups | Excluded Groups |
---|---|---|---|---|---|---|
Siddi-execution-stats-Test-Suite | ||||||
siddi-execution-stats-tests | 14 | 0 | 0 | 782 |
Class | Method | Start | Time (ms) |
---|---|---|---|
Siddi-execution-stats-Test-Suite | |||
siddi-execution-stats-tests — passed | |||
org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase | testPersistence1 | 1554891728890 | 89 |
testPersistence2 | 1554891728979 | 8 | |
testPersistence3 | 1554891728988 | 9 | |
testPersistence4 | 1554891728997 | 12 | |
org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase | test1 | 1554891728264 | 555 |
test10 | 1554891728820 | 8 | |
test2 | 1554891728829 | 7 | |
test3 | 1554891728837 | 6 | |
test4 | 1554891728843 | 6 | |
test5 | 1554891728850 | 6 | |
test6 | 1554891728857 | 12 | |
test7 | 1554891728869 | 7 | |
test8 | 1554891728876 | 6 | |
test9 | 1554891728882 | 5 |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ce58d4db-9ff8-4927-9fff-bbfd36cdec7f' @ Line: 1. Position: 158, near 'stats:median(tt)'.
at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:52)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:438)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:205)
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:245)
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:50)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'c99054c8-d0f0-4632-89ed-85ea984f5bc9' @ Line: 1. Position: 154, near 'stats:median()'.
at org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator.initAggregator(AttributeAggregator.java:52)
at org.wso2.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:438)
at org.wso2.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:205)
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:245)
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:50)
... 36 more
... Removed 28 stack frames |