Skip to content

Commit

Permalink
fixed test after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
gregw committed Jan 18, 2017
1 parent 30c0019 commit 823dda7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public class LoggingHandlerTest {
.addLabel("levelName", "FINEST")
.addLabel("levelValue", String.valueOf(Level.FINEST.intValue()))
.addLabel("enhanced", "true")
.setTimestamp(123456789L)
.build();
private static final LogEntry FINER_ENTRY = LogEntry.newBuilder(StringPayload.of(MESSAGE))
.setSeverity(Severity.DEBUG)
Expand Down Expand Up @@ -260,7 +261,7 @@ public void enhanceLogEntry(Builder builder, LogRecord record) {
new LoggingHandler(LOG_NAME, options, resource, Collections.singletonList(enhancer));
handler.setLevel(Level.ALL);
handler.setFormatter(new TestFormatter());
handler.publish(new LogRecord(Level.FINEST, MESSAGE));
handler.publish(newLogRecord(Level.FINEST, MESSAGE));
}

@Test
Expand Down

0 comments on commit 823dda7

Please sign in to comment.