Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public CompletableResultCode shutdown() {

@Override
public String toString() {
StringJoiner joiner = new StringJoiner(", ", "OtlpGrpcProfilesExporter{", "}");
StringJoiner joiner = new StringJoiner(", ", "OtlpGrpcProfileExporter{", "}");
joiner.add(builder.toString(false));
return joiner.toString();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ void usingOkHttp() throws Exception {
}
}

@Test
void stringRepresentationClassName() {
try (OtlpGrpcProfileExporter exporter = OtlpGrpcProfileExporter.builder().build()) {
assertThat(exporter.toString()).startsWith("OtlpGrpcProfileExporter{");
}
}

@Test
@Override // whilst profile signal type is in development it uses a different error message
@SuppressLogger(GrpcExporter.class)
Expand Down
Loading