Test | # Passed | # Skipped | # Failed | Time (ms) | Included Groups | Excluded Groups |
---|---|---|---|---|---|---|
Siddi-execution-stats-Test-Suite | ||||||
siddi-execution-stats-tests | 14 | 0 | 0 | 681 |
Class | Method | Start | Time (ms) |
---|---|---|---|
Siddi-execution-stats-Test-Suite | |||
siddi-execution-stats-tests — passed | |||
org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase | testPersistence1 | 1550230088629 | 80 |
testPersistence2 | 1550230088709 | 16 | |
testPersistence3 | 1550230088725 | 7 | |
testPersistence4 | 1550230088732 | 7 | |
org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase | test1 | 1550230088083 | 486 |
test10 | 1550230088570 | 7 | |
test2 | 1550230088577 | 5 | |
test3 | 1550230088583 | 5 | |
test4 | 1550230088588 | 6 | |
test5 | 1550230088594 | 7 | |
test6 | 1550230088601 | 6 | |
test7 | 1550230088607 | 6 | |
test8 | 1550230088614 | 5 | |
test9 | 1550230088620 | 6 |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on '2a12d16b-db05-410d-83df-c3a7522dc47f' @ 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:438)
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: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:53)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
org.wso2.siddhi.core.exception.SiddhiAppCreationException: Error on 'ea4db000-af6f-4ee6-ae3f-5b61aea4c693' @ 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:438)
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: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:53)
... 36 more
... Removed 28 stack frames |