Skip to content

Commit

Permalink
Focus on failing test. Add debug logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle committed Feb 7, 2024
1 parent 5b65ec8 commit 66937bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<TestEntity> fromBosk = newBosk(fromHelper);
Expand Down
2 changes: 1 addition & 1 deletion lib-testing/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<appender-ref ref="CONSOLE" />
</root>

<logger name="io.vena.bosk.drivers.mongo" level="DEBUG"/>
<!-- How to add more tracing during unit tests
<logger name="io.vena.bosk.drivers.mongo" level="TRACE"/>
<logger name="io.vena.bosk.drivers.DriverConformanceTest" level="DEBUG"/>
<logger name="io.vena.bosk.drivers.mongo.PandoFormatDriver" level="TRACE"/>
<logger name="io.vena.bosk.drivers.mongo.MainDriver" level="TRACE"/>
Expand Down

0 comments on commit 66937bd

Please sign in to comment.