junit.framework.AssertionFailedError

expected result from cache when query runs twice


Solutions on the web1419

Solution icon of github
expected result from cache when query runs twice

Solution icon of github
expected result from cache when query runs twice

Solution icon of github
via GitHub by lveilleux
, 9 months ago
Same territory was added twice expected:<1> but was:<2>

Solution icon of github
via GitHub by traff
, 1 year ago
Unexpected process result! expected:<0> but was:<5>

Solution icon of bugzilla
The shared cache was updated when the EM property CacheStoreMode = BYPASS

Solution icon of github
expected query [select `customer`.`gender` as `c0` from `customer` as `customer`, `sales_fact_1997` as `sales_fact_1997` where `sales_fact_1997`.`customer_id` = `customer`.`customer_id` group by `customer`.`gender` order by ISNULL(`c0`) ASC, `c0` ASC] did not occur

Solution icon of github
expected query [select `customer`.`gender` as `c0` from `customer` as `customer`, `sales_fact_1997` as `sales_fact_1997` where `sales_fact_1997`.`customer_id` = `customer`.`customer_id` group by `customer`.`gender` order by ISNULL(`c0`) ASC, `c0` ASC] did not occur

Solution icon of github
via GitHub by lucboudreau
, 7 months ago
expected query [select `customer`.`gender` as `c0` from `customer` as `customer`, `sales_fact_1997` as `sales_fact_1997` where `sales_fact_1997`.`customer_id` = `customer`.`customer_id` group by `customer`.`gender` order by ISNULL('c0') ASC, `c0` ASC] did not occur

Stack trace

  • junit.framework.AssertionFailedError: expected result from cache when query runs twice at junit.framework.Assert.fail(Assert.java:47) at mondrian.rolap.BatchTestCase.checkNative(BatchTestCase.java:936) at mondrian.rolap.NonEmptyTest.testExpandWithOneEmptyInput(NonEmptyTest.java:1142)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 4 months ago
5 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
9 times, 6 months ago
Once, 7 months ago
27 more bugmates