From 5aa7d0d28381beb1797fbc90d80f685d7d4de972 Mon Sep 17 00:00:00 2001 From: Falko Modler Date: Tue, 6 Apr 2021 19:35:08 +0200 Subject: [PATCH] Disable Liquibase includeAll test in native for now Relates to #16292 --- .../quarkus/it/liquibase/LiquibaseFunctionalityNativeIT.java | 5 +++++ .../io/quarkus/it/liquibase/LiquibaseFunctionalityTest.java | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 77b77460e7cf5..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,7 +20,7 @@ public void testLiquibaseQuarkusFunctionality() { .then() .body(is( "create-tables-1,test-1,create-view-inline,create-view-file-abs,create-view-file-rel," - + "includeAll-1,includeAll-2," + + (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," @@ -28,4 +28,7 @@ public void testLiquibaseQuarkusFunctionality() { + "1613578374533-1,1613578374533-2,1613578374533-3")); } + protected boolean isIncludeAllExpectedToWork() { + return true; + } }