Skip to content

Commit

Permalink
fix(deps): update dependency org.assertj:assertj-core to v3.26.0 (mai…
Browse files Browse the repository at this point in the history
…n) (#11458)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
  • Loading branch information
renovate[bot] and laurit committed May 27, 2024
1 parent a0de9c4 commit 373224c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion conventions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ dependencies {
testImplementation(enforcedPlatform("org.junit:junit-bom:5.10.2"))
testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.assertj:assertj-core:3.26.0")
}
2 changes: 1 addition & 1 deletion dependencyManagement/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ val DEPENDENCIES = listOf(
"io.opentelemetry.contrib:opentelemetry-gcp-resources:${otelContribVersion}",
"io.opentelemetry.proto:opentelemetry-proto:1.3.1-alpha",
"io.opentelemetry:opentelemetry-extension-annotations:1.18.0", // deprecated, no longer part of bom
"org.assertj:assertj-core:3.25.3",
"org.assertj:assertj-core:3.26.0",
"org.awaitility:awaitility:4.2.1",
"com.google.code.findbugs:annotations:3.0.1u2",
"com.google.code.findbugs:jsr305:3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/distro/gradle/instrumentation.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
// test dependencies
testImplementation("io.opentelemetry.javaagent:opentelemetry-testing-common")
testImplementation("io.opentelemetry:opentelemetry-sdk-testing")
testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.assertj:assertj-core:3.26.0")

add("codegen", "io.opentelemetry.javaagent:opentelemetry-javaagent-tooling:${versions.opentelemetryJavaagentAlpha}")
add("muzzleBootstrap", "io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations-support:${versions.opentelemetryJavaagentAlpha}")
Expand Down
2 changes: 1 addition & 1 deletion gradle-plugins/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies {

implementation("com.github.johnrengelman:shadow:8.1.1")

testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.assertj:assertj-core:3.26.0")

testImplementation(enforcedPlatform("org.junit:junit-bom:5.10.2"))
testImplementation("org.junit.jupiter:junit-jupiter-api")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,14 @@ class RmiTest {
public static final AgentInstrumentationExtension testing =
AgentInstrumentationExtension.create();

private static int registryPort;
private static Registry serverRegistry;
private static Registry clientRegistry;

@RegisterExtension final AutoCleanupExtension autoCleanup = AutoCleanupExtension.create();

@BeforeAll
static void setUp() throws Exception {
registryPort = PortUtils.findOpenPort();
int registryPort = PortUtils.findOpenPort();
serverRegistry = LocateRegistry.createRegistry(registryPort);
clientRegistry = LocateRegistry.getRegistry("localhost", registryPort);
}
Expand Down Expand Up @@ -120,14 +119,14 @@ void serviceThrownException() throws Exception {

Throwable thrown =
catchThrowableOfType(
IllegalStateException.class,
() ->
testing.runWithSpan(
"parent",
() -> {
Greeter client = (Greeter) clientRegistry.lookup(Server.RMI_ID);
client.exceptional();
}),
IllegalStateException.class);
}));

assertThat(testing.waitForTraces(1))
.satisfiesExactly(
Expand Down

0 comments on commit 373224c

Please sign in to comment.