[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-4257) Blog.testSearch unit test doesn't work after hibernate upgrade
Sanne Grinovero (JIRA)
jira-events at lists.jboss.org
Sat Jun 27 11:50:56 EDT 2009
[ https://jira.jboss.org/jira/browse/JBSEAM-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12474083#action_12474083 ]
Sanne Grinovero commented on JBSEAM-4257:
-----------------------------------------
Could you please remove the line "entityManager.flushToIndexes();" from IndexerService?
It's making the tests pass but hiding the trouble, they should fail.
> Blog.testSearch unit test doesn't work after hibernate upgrade
> --------------------------------------------------------------
>
> Key: JBSEAM-4257
> URL: https://jira.jboss.org/jira/browse/JBSEAM-4257
> Project: Seam
> Issue Type: Bug
> Affects Versions: 2.2.0.CR1
> Reporter: Ondrej Skutka
> Assignee: Norman Richards
> Priority: Critical
> Fix For: 2.2.0.GA
>
>
> testSearch in examples/blog stopped working after revision 11163 (JBSEAM-4201 ~ Hibernate upgrade)
> [testng] FAILED: testSearch
> [testng] java.lang.AssertionError
> [testng] at test.BlogTest$8.renderResponse(BlogTest.java:181)
> [testng] at org.jboss.seam.mock.AbstractSeamTest$Request.renderResponsePhase(AbstractSeamTest.java:623)
> [testng] at org.jboss.seam.mock.AbstractSeamTest$Request.emulateJsfLifecycle(AbstractSeamTest.java:608)
> [testng] at org.jboss.seam.mock.AbstractSeamTest$Request.access$100(AbstractSeamTest.java:177)
> [testng] at org.jboss.seam.mock.AbstractSeamTest$Request$2.doFilter(AbstractSeamTest.java:497)
> [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
> [testng] at org.jboss.seam.web.RewriteFilter.doFilter(RewriteFilter.java:63)
> [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> [testng] at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
> [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> [testng] at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
> [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> [testng] at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
> [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> [testng] at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
> [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> [testng] at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
> [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> [testng] at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
> [testng] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> [testng] at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
> [testng] at org.jboss.seam.mock.AbstractSeamTest$Request.run(AbstractSeamTest.java:491)
> [testng] at test.BlogTest.testSearch(BlogTest.java:168)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list