Bug 1016315

Summary: Test failures in tasks-* quickstarts
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Paul Gier <pgier>
Component: QuickstartsAssignee: sgilda
Status: CLOSED DUPLICATE QA Contact: Vladimir Rastseluev <vrastsel>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bsutter, pmuir, pslavice
Target Milestone: ---   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-07 23:54:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul Gier 2013-10-07 21:55:05 UTC
Three quickstarts currently have test failures when running in arquillian managed and arquillian remote modes: tasks, tasks-jsf, tasks-rs.  For more details, see the jenkins jobs:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-62-handoff-quickstarts-arq-jbossas-managed/
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-62-handoff-quickstarts-arq-jbossas-remote/

tasks
------
Failed tests:   taskDao_should_provide_basic_case_insensitive_full_text_search(org.jboss.as.quickstarts.tasks.TaskDaoTest): expected:<1> but was:<0>


tasks-jsf
---------
Failed tests:   facesContext_should_be_provided_from_current_context(org.jboss.as.quickstarts.tasksJsf.ResourcesTest)

Tests in error: 
  all_tasks_should_be_obtained_from_detachedUser(org.jboss.as.quickstarts.tasksJsf.TaskDaoTest): java.lang.IllegalStateException: EntityManager is closed
  range_of_tasks_should_be_provided_by_taskDao(org.jboss.as.quickstarts.tasksJsf.TaskDaoTest): java.lang.IllegalStateException: EntityManager is closed
  taskDao_should_remove_task_from_detachedUser(org.jboss.as.quickstarts.tasksJsf.TaskDaoTest): java.lang.IllegalStateException: EntityManager is closed
  taskDao_should_provide_basic_case_insensitive_full_text_search(org.jboss.as.quickstarts.tasksJsf.TaskDaoTest): java.lang.IllegalStateException: EntityManager is closed
  user_should_be_created_with_one_task_attached(org.jboss.as.quickstarts.tasksJsf.TaskDaoTest): EntityManager is closed
  user_should_be_retrievable_from_userDao_by_username(org.jboss.as.quickstarts.tasksJsf.UserDaoTest): java.lang.IllegalStateException: EntityManager is closed
  userDao_should_return_null_when_searching_for_non_existent_user(org.jboss.as.quickstarts.tasksJsf.UserDaoTest): java.lang.IllegalStateException: EntityManager is closed
  userDao_should_create_user_so_it_could_be_retrieved_from_userDao_by_username(org.jboss.as.quickstarts.tasksJsf.UserDaoTest): java.lang.IllegalStateException: EntityManager is closed

Tests run: 12, Failures: 1, Errors: 8, Skipped: 0


tasks-rf
--------
Failed tests:   taskDao_should_provide_basic_case_insensitive_full_text_search(org.jboss.as.quickstarts.tasksrs.TaskDaoTest): expected:<1> but was:<0>

Comment 1 Paul Gier 2013-10-07 23:54:01 UTC

*** This bug has been marked as a duplicate of bug 1015948 ***