Modify tests to use isPostgresCompatible() (to effectively include Yugabyte)

This commit is contained in:
Rob Bygrave committed 2022-02-02 23:25:13 +13:00
1 parent 4899f23773
commit 389f2bcd2f
25 files changed
+37 -49

No files matched your search

@@ -85,7 +85,7 @@ public class TestCarWheelIud extends BaseTestCase {
final List<String> sql = LoggedSql.stop();
assertThat(sql).hasSize(2);
if (isH2() || isPostgres()) {
if (isH2() || isPostgresCompatible()) {
assertSql(sql.get(0)).contains("select t0.brand, sum(t0.sold) from sa_car t0 group by t0.brand limit 10");
assertSql(sql.get(1)).contains("select count(*) from ( select t0.brand, sum(t0.sold) from sa_car t0 group by t0.brand)");
}