diff --git a/integration-tests/liquibase/src/main/resources/db/xml/changeLog.xml b/integration-tests/liquibase/src/main/resources/db/xml/changeLog.xml index acec1e3f6903a..42ebeb7190bb0 100644 --- a/integration-tests/liquibase/src/main/resources/db/xml/changeLog.xml +++ b/integration-tests/liquibase/src/main/resources/db/xml/changeLog.xml @@ -9,4 +9,6 @@ + + diff --git a/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test1.xml b/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test1.xml new file mode 100644 index 0000000000000..fe574c6b3a6b2 --- /dev/null +++ b/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test1.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + diff --git a/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test2.xml b/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test2.xml new file mode 100644 index 0000000000000..5025667b09ba3 --- /dev/null +++ b/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test2.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + diff --git a/integration-tests/liquibase/src/test/java/io/quarkus/it/liquibase/LiquibaseFunctionalityNativeIT.java b/integration-tests/liquibase/src/test/java/io/quarkus/it/liquibase/LiquibaseFunctionalityNativeIT.java index a1de36fa68121..3d2ea65844005 100644 --- a/integration-tests/liquibase/src/test/java/io/quarkus/it/liquibase/LiquibaseFunctionalityNativeIT.java +++ b/integration-tests/liquibase/src/test/java/io/quarkus/it/liquibase/LiquibaseFunctionalityNativeIT.java @@ -4,4 +4,9 @@ @NativeImageTest public class LiquibaseFunctionalityNativeIT extends LiquibaseFunctionalityTest { + + @Override + protected boolean isIncludeAllExpectedToWork() { + return false; + } } diff --git a/integration-tests/liquibase/src/test/java/io/quarkus/it/liquibase/LiquibaseFunctionalityTest.java b/integration-tests/liquibase/src/test/java/io/quarkus/it/liquibase/LiquibaseFunctionalityTest.java index d152d2f302e79..a5079d99a5cec 100644 --- a/integration-tests/liquibase/src/test/java/io/quarkus/it/liquibase/LiquibaseFunctionalityTest.java +++ b/integration-tests/liquibase/src/test/java/io/quarkus/it/liquibase/LiquibaseFunctionalityTest.java @@ -20,6 +20,7 @@ public void testLiquibaseQuarkusFunctionality() { .then() .body(is( "create-tables-1,test-1,create-view-inline,create-view-file-abs,create-view-file-rel," + + (isIncludeAllExpectedToWork() ? "includeAll-1,includeAll-2," : "") + "json-create-tables-1,json-test-1," + "sql-create-tables-1,sql-test-1," + "yaml-create-tables-1,yaml-test-1," @@ -27,4 +28,7 @@ public void testLiquibaseQuarkusFunctionality() { + "1613578374533-1,1613578374533-2,1613578374533-3")); } + protected boolean isIncludeAllExpectedToWork() { + return true; + } }