Skip to content

Commit

Permalink
spotless on APMJvmOptionsTests
Browse files Browse the repository at this point in the history
  • Loading branch information
stu-elastic committed Jan 16, 2024
1 parent 45b3fae commit 71c23f2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void testExtractSettings() throws UserException {
assertThat(err.getMessage(), is("Duplicate telemetry setting: [telemetry.agent.server_url] and [tracing.apm.agent.server_url]"));
}

public void testNoMixedLabels() throws UserException {
public void testNoMixedLabels() {
String telemetryAgent = "telemetry.agent.";
String tracingAgent = "tracing.apm.agent.";
Settings settings = Settings.builder()
Expand All @@ -147,7 +147,8 @@ public void testNoMixedLabels() throws UserException {
assertThat(
err.getMessage(),
is(
"Cannot have global labels with tracing.agent prefix [organization_id=456] and telemetry.apm.agent prefix [deployment_id=123]"
"Cannot have global labels with tracing.agent prefix [organization_id=456] and"
+ " telemetry.apm.agent prefix [deployment_id=123]"
)
);
}
Expand Down

0 comments on commit 71c23f2

Please sign in to comment.