Fix some testcases fof MySql/SqlServer (#1591)

* FIX testcases for MariaDB+utf8mb4  (Failure was: "Specified key was too long; max key length is 767 bytes")

* Excluded tests that won't work on SqlServers generated ids
This commit is contained in:
Roland Praml
2019-01-08 22:13:55 +13:00
committed by Rob Bygrave
parent 7aef4ff1bd
commit 7ed4435ccc
12 changed files with 33 additions and 5 deletions
@@ -121,7 +121,7 @@ public class TestBatchInsertFlush extends BaseTestCase {
@Test
@Transactional(batch = PersistBatch.ALL)
@IgnorePlatform(Platform.HANA)
@IgnorePlatform({Platform.SQLSERVER, Platform.HANA}) // has generated IDs
public void transactional_flushOnGetId() {
EbeanServer server = Ebean.getDefaultServer();
@@ -144,7 +144,7 @@ public class TestBatchInsertFlush extends BaseTestCase {
}
@Test
@IgnorePlatform(Platform.HANA)
@IgnorePlatform({Platform.SQLSERVER, Platform.HANA})
public void testFlushOnGetId() {
EbeanServer server = Ebean.getDefaultServer();