debradley@gmail.com
Jul 22nd, 2005, 01:37 PM
I'm using AbstractTransactionalSpringContextTests in some unit tests with great success on my Windows development environment running MySQL 4.1. My database is happily always left in a clean state no matter what happens in the unit tests.
However when I deploy the same code to Redhat Enterprise 4 (from CVS), also running MySQL 4.1, the unit tests do not rollback transactions. Data created by the unit test is left in the database after the tests.
How can this be happening? Any suggestions on what might be going wrong? Thanks.
However when I deploy the same code to Redhat Enterprise 4 (from CVS), also running MySQL 4.1, the unit tests do not rollback transactions. Data created by the unit test is left in the database after the tests.
How can this be happening? Any suggestions on what might be going wrong? Thanks.