Skip to content

Commit 488bfe5

Browse files
committed
Test log levels / coverage
1 parent c491c6e commit 488bfe5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.aidanwhiteley</groupId>
88
<artifactId>books</artifactId>
9-
<version>0.12.3-RELEASE</version>
9+
<version>0.12.4-RELEASE</version>
1010
<packaging>jar</packaging>
1111

1212
<name>Books Microservice</name>

src/test/java/com/aidanwhiteley/books/repository/GoogleBooksDaoSyncTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void confirmFindbyBookTimesOut() {
6969
LOGGER.debug("Expected exception caught");
7070
}
7171

72-
context.getLogger(GoogleBooksDaoSync.class).setLevel(Level.valueOf("WARN"));
72+
context.getLogger(GoogleBooksDaoSync.class).setLevel(Level.valueOf("INFO"));
7373
}
7474

7575
@Test
@@ -86,7 +86,7 @@ void confirmFindbyBookIdHandlesServiceUnavailable() {
8686
LOGGER.debug("Expected HttpServerErrorException exception caught: " + hsee);
8787
}
8888

89-
context.getLogger(GoogleBooksDaoSync.class).setLevel(Level.valueOf("WARN"));
89+
context.getLogger(GoogleBooksDaoSync.class).setLevel(Level.valueOf("INFO"));
9090
}
9191

9292
}

0 commit comments

Comments
 (0)