Skip to content

Commit

Permalink
Focus on failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle committed Feb 7, 2024
1 parent 46858ce commit afd0da8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.TestInfo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -69,6 +70,7 @@ static Stream<Configuration> toConfig() {
return fromConfig();
}

@Disabled
@ParametersByName
void pairwise_readCompatible() throws Exception {
fromHelper.setLogging(Level.ERROR, SequoiaFormatDriver.class, PandoFormatDriver.class);
Expand Down Expand Up @@ -106,7 +108,7 @@ void pairwise_readCompatible() throws Exception {
// System.out.println("Status: " + ((MongoDriver<?>)toBosk.driver()).readStatus());
}

@ParametersByName
@ParametersByName(singleInvocationIndex = 5)
void pairwise_writeCompatible() throws Exception {
fromHelper.setLogging(Level.ERROR, SequoiaFormatDriver.class, PandoFormatDriver.class);

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>

<!-- How to add more tracing during unit tests
<logger name="io.vena.bosk.drivers.mongo" level="DEBUG"/>
<!-- How to add more tracing during unit tests
<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 afd0da8

Please sign in to comment.