junit.framework.AssertionFailedError: 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


Solutions on the web

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
, 9 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

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 `store`.`store_country` as `c0`, `store`.`store_state` as `c1` from `store` as `store` group by `store`.`store_country`, `store`.`store_state` having UPPER(c1) REGEXP '.*CA.*' order by ISNULL(`store`.`store_country`) ASC, `store`.`store_country` ASC, ISNULL(`store`.`store_state`) ASC, `store`.`store_state` ASC] did not occur

Solution icon of sourceforge
via openxava by yerikab
, 1 year ago
Mensaje <Customer deleted successfully> no encontrado    <<<<------\- este es el error que me marca en Junit

Solution icon of atlassian
via Atlassian JIRA by Alex Wei [Atlassian], 1 year ago
Expected text not found in current page: \[Enter the details of the issue\] Page content was: \[Create Issue - jWebTest JIRA installation Joe Test Administrator Update Status... Personal Space Profile Administration Log Out History Loading

Solution icon of atlassian
via Atlassian JIRA by Alex Wei [Atlassian], 1 year ago
Expected text not found in current page: \[Enter the details of the issue\] Page content was: \[Create Issue - jWebTest JIRA installation Joe Test Administrator Update Status... Personal Space Profile Administration Log Out History Loading

Solution icon of github
Outputted json isn't as expected. The number of elements in the array do not match.(/messages) Expected: 2 Actual: 3 expected:<0> but was:<1>

Solution icon of atlassian
via Atlassian JIRA by Alex Wei [Atlassian], 1 year ago
Expected text not found in current page: [Attachment:] Page content was: [Create Issue - jWebTest JIRA installation Joe Test Administrator Update Status... Personal Space Profile Administration Log Out History Loading... Test Big Mama's Wagen

Stack trace

junit.framework.AssertionFailedError: 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
	at junit.framework.Assert.fail(Assert.java:47)
	at mondrian.rolap.BatchTestCase.assertQuerySqlOrNot(BatchTestCase.java:523)

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, 6 months ago
5 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 times, 8 months ago
Once, 9 months ago
28 more bugmates