ekjstm / permafrost

Automatically exported from code.google.com/p/permafrost
0 stars 0 forks source link

Individual unit test failure causes cascading test failures. #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The problem occurs when an assertion failure or exception causes a test
function to exit without closing all HDF ids.

Test functions should be independent, but the open ids prevent the native
code from closing the file handle. The @Before code then cannot truncate
the test file and reopen it. This causes all successive tests to fail.

Investigate forcing a file closed or using the in-memory file driver.

Original issue reported on code.google.com by solomon....@gmail.com on 29 Dec 2008 at 9:12