Skip to content

Commit

Permalink
Fix Cassandra Test (#30075)
Browse files Browse the repository at this point in the history
* Fix Cassandra Test

* Fix Java CassandraIO PreCommit
  • Loading branch information
Abacn authored Jan 23, 2024
1 parent 173d834 commit 821a169
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sdks/java/io/cassandra/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ ext.summary = "IO to read and write with Apache Cassandra database"
// compatible with all Cassandra versions up to 3.11.10
def achilles_version = "6.1.0"

configurations.testRuntimeClasspath {
// Force use the old version of JAMM that embedded cassandra server relies on
// TODO(yathu) bump to cassandra-5.x which uses newer jamm when
// * cassandra-5.x released
// * Beam tests with Java11+ (cassandra 5-beta dropped Java8 release)
resolutionStrategy.force 'com.github.jbellis:jamm:0.3.0'
}

dependencies {
implementation library.java.vendored_guava_32_1_2_jre
implementation project(path: ":sdks:java:core", configuration: "shadow")
Expand Down

0 comments on commit 821a169

Please sign in to comment.