diff --git a/fdb-relational-api/src/testFixtures/java/com/apple/foundationdb/relational/utils/RelationalAssertions.java b/fdb-relational-api/src/testFixtures/java/com/apple/foundationdb/relational/utils/RelationalAssertions.java index c3c616d9b0..23d322036c 100644 --- a/fdb-relational-api/src/testFixtures/java/com/apple/foundationdb/relational/utils/RelationalAssertions.java +++ b/fdb-relational-api/src/testFixtures/java/com/apple/foundationdb/relational/utils/RelationalAssertions.java @@ -45,12 +45,12 @@ public static RelationalAssert assertThat(Object o) { } public static RelationalExceptionAssert assertThrows(ThrowableAssert.ThrowingCallable shouldThrow) { - RelationalException ve = Assertions.catchThrowableOfType(shouldThrow, RelationalException.class); + RelationalException ve = Assertions.catchThrowableOfType(RelationalException.class, shouldThrow); return new RelationalExceptionAssert(ve); } public static SQLExceptionAssert assertThrowsSqlException(ThrowableAssert.ThrowingCallable shouldThrow) { - SQLException se = Assertions.catchThrowableOfType(shouldThrow, SQLException.class); + SQLException se = Assertions.catchThrowableOfType(SQLException.class, shouldThrow); if (se == null) { Assertions.fail(String.format("expected an exception of type %s to be thrown, but no exception was thrown", SQLException.class.getSimpleName())); } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8f768446d1..73567e638c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -35,7 +35,7 @@ fdb = "7.1.26" geophile = "2.3.0" generatedAnnotation = "1.3.2" grpc = "1.64.1" -grpc-commonProtos = "2.9.6" +grpc-commonProtos = "2.37.0" guava = "33.3.1-jre" h2 = "1.3.148" icu = "69.1" @@ -53,7 +53,7 @@ slf4j = "1.7.36" # Test-only dependency versions -assertj = "3.24.2" +assertj = "3.26.3" apache-commonsCollections = "4.4" apache-commonsMath3 = "3.6.1" apache-httpclient = "5.2.1" @@ -62,7 +62,7 @@ diffutils = "4.12" hamcrest = "2.2" jcommander = "1.81" jline = "3.19.0" -junit = "5.11.2" +junit = "5.11.3" junit-platform = "1.7.1" mockito = "3.7.7" snakeyaml = "2.2"