mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-20 23:05:23 +00:00
FIX: MysqlGenerateMigrationTest now clears pendingDrops System-Property
This commit is contained in:
1 parent
7b5fa99faf
commit
a5b4547592
1 file changed
+6
-1
+6
-1
@@ -6,6 +6,7 @@ import io.ebean.annotation.Platform;
|
|||||||
import io.ebean.config.DatabaseConfig;
|
import io.ebean.config.DatabaseConfig;
|
||||||
import io.ebean.config.PlatformConfig;
|
import io.ebean.config.PlatformConfig;
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.AfterEach;
|
||||||
import org.junit.jupiter.api.Disabled;
|
import org.junit.jupiter.api.Disabled;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
@@ -22,9 +23,13 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||||||
*
|
*
|
||||||
* @author Jonas Pöhler, FOCONIS AG
|
* @author Jonas Pöhler, FOCONIS AG
|
||||||
*/
|
*/
|
||||||
@Disabled("build success depends on test order")
|
|
||||||
public class MysqlGenerateMigrationTest {
|
public class MysqlGenerateMigrationTest {
|
||||||
|
|
||||||
|
@AfterEach
|
||||||
|
public void resetPendingDropsProperty() {
|
||||||
|
System.clearProperty("ddl.migration.pendingDropsFor");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testMysqlStoredProcedures() throws Exception {
|
public void testMysqlStoredProcedures() throws Exception {
|
||||||
DefaultDbMigration migration = new DefaultDbMigration();
|
DefaultDbMigration migration = new DefaultDbMigration();
|
||||||
|
|||||||
Reference in new issue
Block a user