[ 
http://jira.codehaus.org/browse/SUREFIRE-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Fabulich closed SUREFIRE-471.
---------------------------------

    Resolution: Incomplete

I can't reproduce this issue yet, so please reopen the bug with a reproducible 
test case when you've got one.

> Infinite loop when ERROR is detected
> ------------------------------------
>
>                 Key: SUREFIRE-471
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-471
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.4.2
>         Environment: Windows XP, Maven 2.0.8, Spring 1.2.8, JDK 1.6
>            Reporter: Paul Benedict
>
> I can't supply a test case, but I will try to describe in detail exactly what 
> occurs so you can reproduce it:
> My hibernate integration tests are in a separate profile named "itest". My 
> integration tests load Hibernate via Spring. I had a Hibernate mapping 
> configuration error in which my <set> element was missing its <key> element. 
> Now usually a mapping error causes the testing to immediately quit, but here 
> it didn't. Instead it reported the error and reran the whole phase again, and 
> again, etc.
>     <set name="items" inverse="true">
>       <one-to-many class="x.y.z.MyObject" />
>     </set>
> My debug output:
> [DEBUG] Using JVM: D:\jdk1.6.0_01\jre\bin\java
> [INFO] Surefire report directory: 
> D:\workspace\myproject\target\surefire-reports
> Forking command line: cmd.exe /X /C '"D:\jdk1.6.0_01\jre\bin\java -jar 
> c:\temp\surefirebooter4340.jar c:\temp\surefire4338tmp 
> c:\temp\surefire4339tmp"'
> ...... test output.....
> 31876 [main] ERROR org.hibernate.util.XMLHelper  - Error parsing XML: XML 
> InputStream(23) The content of element type "set" must match 
> "(meta*,subselect?,cache?,synchronize*,comment?,key,(element|one-to-many|many-to-many|composite-element|many-to-any),loader?,sql-insert?,sql-update?,sql-delete?,sql-delete-all?,filter*)"
> ...... test output......
> ......repeat.....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to