| Summary: | JAXB tests fail because JAXB properties file is not closed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Brian Vosburgh <brian.vosburgh> | ||||
| Component: | General | Assignee: | Brian Vosburgh <brian.vosburgh> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | neil.hauge | ||||
| Version: | unspecified | Flags: | neil.hauge:
pmc_approved+
neil.hauge: review+ |
||||
| Target Milestone: | 3.0 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | PMC_approved | ||||||
| Attachments: |
|
||||||
Patch checked into HEAD for RC1. |
Created attachment 195375 [details] patch Every time I run the JAXB tests, I have upwards of 100 tests fail. Only the first "failure" is significant. The tear-down of test JaxbPropertiesResourceTests.testUpdateProperties() throws an exception because it cannot delete the Project files. This is because the jaxb.properties file is not closed. All following test "failures" are during setup: a new Project cannot be created because the old project still exists. The attached patch closes the jaxb.properties file after it is read.