Test | # Passed | # Skipped | # Failed | Time (ms) | Included Groups | Excluded Groups |
---|---|---|---|---|---|---|
Siddi-execution-stats-Test-Suite | ||||||
siddi-execution-stats-tests | 14 | 0 | 0 | 811 |
Class | Method | Start | Time (ms) |
---|---|---|---|
Siddi-execution-stats-Test-Suite | |||
siddi-execution-stats-tests — passed | |||
org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorPersistenceTestCase | testPersistence1 | 1565612269377 | 29 |
testPersistence2 | 1565612269406 | 18 | |
testPersistence3 | 1565612269425 | 18 | |
testPersistence4 | 1565612269444 | 17 | |
org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase | test1 | 1565612268675 | 563 |
test10 | 1565612269239 | 7 | |
test2 | 1565612269247 | 11 | |
test3 | 1565612269259 | 13 | |
test4 | 1565612269273 | 18 | |
test5 | 1565612269292 | 42 | |
test6 | 1565612269335 | 9 | |
test7 | 1565612269350 | 13 | |
test8 | 1565612269363 | 6 | |
test9 | 1565612269370 | 4 |
Expected Exception |
---|
io.siddhi.core.exception.SiddhiAppCreationException: Error on '9ea2d04e-3577-48ee-a688-9751cce075b4' @ Line: 1. Position: 158, near 'stats:median(tt)'.
at io.siddhi.core.query.selector.attribute.aggregator.AttributeAggregatorExecutor.initAggregator(AttributeAggregatorExecutor.java:55)
at io.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:464)
at io.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:215)
at io.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:92)
at io.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:143)
at io.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:253)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:66)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase.test10(MedianAttributeAggregatorTestCase.java:558)
Caused by: io.siddhi.core.exception.OperationNotSupportedException: Median not supported for STRING
at org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregator.init(MedianAttributeAggregator.java:110)
at io.siddhi.core.query.selector.attribute.aggregator.AttributeAggregatorExecutor.initAggregator(AttributeAggregatorExecutor.java:50)
... 36 more
... Removed 28 stack frames |
Expected Exception |
---|
io.siddhi.core.exception.SiddhiAppCreationException: Error on 'dab96946-e859-4c59-b689-cc572805cf8c' @ Line: 1. Position: 154, near 'stats:median()'.
at io.siddhi.core.query.selector.attribute.aggregator.AttributeAggregatorExecutor.initAggregator(AttributeAggregatorExecutor.java:55)
at io.siddhi.core.util.parser.ExpressionParser.parseExpression(ExpressionParser.java:464)
at io.siddhi.core.util.parser.SelectorParser.getAttributeProcessors(SelectorParser.java:215)
at io.siddhi.core.util.parser.SelectorParser.parse(SelectorParser.java:92)
at io.siddhi.core.util.parser.QueryParser.parse(QueryParser.java:143)
at io.siddhi.core.util.parser.SiddhiAppParser.parse(SiddhiAppParser.java:253)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:66)
at io.siddhi.core.SiddhiManager.createSiddhiAppRuntime(SiddhiManager.java:76)
at org.wso2.extension.siddhi.execution.stats.MedianAttributeAggregatorTestCase.test9(MedianAttributeAggregatorTestCase.java:545)
Caused by: io.siddhi.query.api.exception.SiddhiAppValidationException: The 'stats:median' expects at least 1 parameters, but found only 0 input parameters.
at io.siddhi.core.util.extension.validator.InputParameterValidator.validateExpressionExecutors(InputParameterValidator.java:153)
at io.siddhi.core.query.selector.attribute.aggregator.AttributeAggregatorExecutor.initAggregator(AttributeAggregatorExecutor.java:49)
... 36 more
... Removed 28 stack frames |