Skip to content

Commit

Permalink
Issue #106: Use only simple class name for correlation ID.
Browse files Browse the repository at this point in the history
This shortens the correlation ID which facilitates to work with it.

Signed-off-by: Juergen Fickel <juergen.fickel@bosch.io>
  • Loading branch information
Juergen Fickel committed Nov 11, 2021
1 parent 7e6a36c commit 86db7c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static TestNameCorrelationId newInstance() {
protected void starting(final Description description) {
final Class<?> testClass = description.getTestClass();
correlationId = CorrelationId.of(MessageFormat.format(CORRELATION_ID_PATTERN,
testClass.getName(),
testClass.getSimpleName(),
description.getMethodName(),
getRandomPart()));
}
Expand Down

0 comments on commit 86db7c7

Please sign in to comment.