[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-408?pag...
]
Hardy Ferentschik commented on HSEARCH-408:
-------------------------------------------
Changed the build so that it runs now in _forkMode=once_.
The tests which were still causing problems where {{LazyCollectionsUpdatingTest}},
{{EmbeddedTest}} and {{NestedEmbeddedTest}}. Debugging the tests it showed that the
collections/associations would not get persisted into the database at persist time. When
the data was consequently getting retrieved it was empty and assertions would fail.
It turned out that using consistently a cascade mode of {{CascadeType.ALL}} fixes this
problem and the tests can be run in _forkMode=once_.
I am still at loss why this is the case and why this tests in _forkMode=perTest_ would
pass. There might still be an underlying problem. I decided to commit the changes though
since they reduce the build time considerably.
Improve execution speed of functional tests
-------------------------------------------
Key: HSEARCH-408
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-408
Project: Hibernate Search
Issue Type: Task
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 3.2.0.Beta2
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira