From 66937bd039fc50a2c3e29a372130489c6b081a13 Mon Sep 17 00:00:00 2001 From: Patrick Doyle Date: Tue, 6 Feb 2024 18:17:49 -0500 Subject: [PATCH] Focus on failing test. Add debug logging. --- .github/workflows/build-and-test.yml | 2 +- .../java/io/vena/bosk/drivers/mongo/SchemaEvolutionTest.java | 2 +- lib-testing/src/main/resources/logback.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 5219254e..b986c79e 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -34,7 +34,7 @@ jobs: - name: Run Gradle Test run: | - ./gradlew spotlessCheck spotBugsMain test --profile --fail-fast + ./gradlew spotlessCheck spotBugsMain test --profile --fail-fast --tests io.vena.bosk.drivers.mongo.SchemaEvolutionTest env: ORG_GRADLE_PROJECT_ossrhUsername: ${{secrets.OSSRH_USERNAME}} ORG_GRADLE_PROJECT_ossrhPassword: ${{secrets.OSSRH_TOKEN}} diff --git a/bosk-mongo/src/test/java/io/vena/bosk/drivers/mongo/SchemaEvolutionTest.java b/bosk-mongo/src/test/java/io/vena/bosk/drivers/mongo/SchemaEvolutionTest.java index 346a09bf..3054ffc1 100644 --- a/bosk-mongo/src/test/java/io/vena/bosk/drivers/mongo/SchemaEvolutionTest.java +++ b/bosk-mongo/src/test/java/io/vena/bosk/drivers/mongo/SchemaEvolutionTest.java @@ -98,7 +98,7 @@ void pairwise_readCompatible() throws Exception { // System.out.println("Status: " + ((MongoDriver)toBosk.driver()).readStatus()); } - @ParametersByName + @ParametersByName(singleInvocationIndex = 1) void pairwise_writeCompatible() throws Exception { LOGGER.debug("Create fromBosk [{}]", fromHelper.name); Bosk fromBosk = newBosk(fromHelper); diff --git a/lib-testing/src/main/resources/logback.xml b/lib-testing/src/main/resources/logback.xml index b8ad05c4..917076f1 100644 --- a/lib-testing/src/main/resources/logback.xml +++ b/lib-testing/src/main/resources/logback.xml @@ -9,8 +9,8 @@ +