提交 b67a0db7 authored 作者: Noel Grandin's avatar Noel Grandin

fix failure in test cleanup

上级 0b736985
......@@ -19,7 +19,6 @@ import javax.sql.DataSource;
import javax.sql.XAConnection;
import javax.transaction.xa.XAResource;
import javax.transaction.xa.Xid;
import org.h2.api.ErrorCode;
import org.h2.jdbcx.JdbcDataSource;
import org.h2.jdbcx.JdbcDataSourceFactory;
......@@ -76,6 +75,8 @@ public class TestDataSource extends TestBase {
testDataSource();
testUnwrap();
testXAConnection();
// otherwise we sometimes can't delete the trace file when the TestAll cleanup code runs
JdbcDataSourceFactory.getTraceSystem().close();
deleteDb("dataSource");
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论