Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/emit_with_timestamp' into emit_w…
Browse files Browse the repository at this point in the history
…ith_timestamp
  • Loading branch information
breedx-splk committed Oct 24, 2023
2 parents a93c3b0 + 4a083d9 commit 9530960
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ void emit() {
void emitWithTimestamp() {
EventEmitter emitter = DefaultEventEmitter.getInstance();
Attributes attributes = Attributes.builder().put("key1", "value1").build();
assertThatCode(() -> emitter.emit(System.nanoTime(), "event-name", attributes));
assertThatCode(() -> emitter.emit(System.nanoTime(), "event-name", attributes))
.doesNotThrowAnyException();
}
}

0 comments on commit 9530960

Please sign in to comment.