Skip to content

Commit 8fc887a

Browse files
Replaced abandoned lib com.github.kstyrc with actively maintained com.github.codemonstur lib. (#9225)
1 parent 6fc7077 commit 8fc887a

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

dd-java-agent/instrumentation/jedis-3.0/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ addTestSuiteForDir('latestDepTest', 'test')
2020
dependencies {
2121
compileOnly group: 'redis.clients', name: 'jedis', version: '3.3.0'
2222

23-
testImplementation group: 'com.github.kstyrc', name: 'embedded-redis', version: '0.6'
23+
testImplementation group: 'com.github.codemonstur', name: 'embedded-redis', version: '1.4.3'
2424
testImplementation group: 'redis.clients', name: 'jedis', version: '3.3.0'
2525
// ensures jedis-1.4 instrumentation does not load with jedis 3.0+ by failing
2626
// the tests in the event it does. The tests will end up with double spans

dd-java-agent/instrumentation/jedis-3.0/src/test/groovy/Jedis30ClientTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ abstract class Jedis30ClientTest extends VersionedNamingTestBase {
1717
int port = PortUtils.randomOpenPort()
1818

1919
@Shared
20-
RedisServer redisServer = RedisServer.builder()
20+
RedisServer redisServer = RedisServer.newRedisServer()
2121
// bind to localhost to avoid firewall popup
2222
.setting("bind 127.0.0.1")
2323
// set max memory to avoid problems in CI
@@ -35,7 +35,7 @@ abstract class Jedis30ClientTest extends VersionedNamingTestBase {
3535
}
3636

3737
def setupSpec() {
38-
println "Using redis: $redisServer.args"
38+
println "Using redis: $redisServer.@args"
3939
redisServer.start()
4040
}
4141

dd-java-agent/instrumentation/jedis-4.0/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ addTestSuiteForDir('latestDepTest', 'test')
2020
dependencies {
2121
compileOnly group: 'redis.clients', name: 'jedis', version: '4.0.0'
2222

23-
testImplementation group: 'com.github.kstyrc', name: 'embedded-redis', version: '0.6'
23+
testImplementation group: 'com.github.codemonstur', name: 'embedded-redis', version: '1.4.3'
2424
testImplementation group: 'redis.clients', name: 'jedis', version: '4.0.0'
2525
// ensures jedis-1.4 and jedis-3.0 instrumentation does not load with jedis 4.0+ by failing
2626
// the tests in the event it does. The tests will end up with double spans

dd-java-agent/instrumentation/jedis-4.0/src/test/groovy/Jedis40ClientTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ abstract class Jedis40ClientTest extends VersionedNamingTestBase {
1717
int port = PortUtils.randomOpenPort()
1818

1919
@Shared
20-
RedisServer redisServer = RedisServer.builder()
20+
RedisServer redisServer = RedisServer.newRedisServer()
2121
// bind to localhost to avoid firewall popup
2222
.setting("bind 127.0.0.1")
2323
// set max memory to avoid problems in CI
@@ -35,7 +35,7 @@ abstract class Jedis40ClientTest extends VersionedNamingTestBase {
3535
}
3636

3737
def setupSpec() {
38-
println "Using redis: $redisServer.args"
38+
println "Using redis: $redisServer.@args"
3939
redisServer.start()
4040
}
4141

dd-java-agent/instrumentation/lettuce-4/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ addTestSuiteForDir('latestDepTest', 'test')
1515
dependencies {
1616
compileOnly group: 'biz.paluch.redis', name: 'lettuce', version: '4.0.Final'
1717

18-
testImplementation group: 'com.github.kstyrc', name: 'embedded-redis', version: '0.6'
18+
testImplementation group: 'com.github.codemonstur', name: 'embedded-redis', version: '1.4.3'
1919
testImplementation group: 'biz.paluch.redis', name: 'lettuce', version: '4.0.Final'
2020

2121
latestDepTestImplementation group: 'biz.paluch.redis', name: 'lettuce', version: '4.+'

dd-java-agent/instrumentation/lettuce-4/src/test/groovy/Lettuce4ClientTestBase.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ abstract class Lettuce4ClientTestBase extends VersionedNamingTestBase {
5252
dbUriNonExistent = "redis://" + dbAddrNonExistent
5353
embeddedDbUri = "redis://" + dbAddr
5454

55-
redisServer = RedisServer.builder()
55+
redisServer = RedisServer.newRedisServer()
5656
// bind to localhost to avoid firewall popup
5757
.setting("bind " + HOST)
5858
// set max memory to avoid problems in CI

dd-java-agent/instrumentation/rediscala-1.8.0/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ dependencies {
5454
testImplementation project(':dd-java-agent:instrumentation:scala-concurrent')
5555

5656
testImplementation group: 'com.github.etaty', name: 'rediscala_2.11', version: '1.8.0'
57-
testImplementation group: 'com.github.kstyrc', name: 'embedded-redis', version: '0.6'
57+
testImplementation group: 'com.github.codemonstur', name: 'embedded-redis', version: '1.4.3'
5858

5959
latestDepTestImplementation group: 'com.github.etaty', name: 'rediscala_2.11', version: '+'
6060
}

dd-java-agent/instrumentation/rediscala-1.8.0/src/test/groovy/RediscalaClientTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ abstract class RediscalaClientTest extends VersionedNamingTestBase {
2222
int port = PortUtils.randomOpenPort()
2323

2424
@Shared
25-
RedisServer redisServer = RedisServer.builder()
25+
RedisServer redisServer = RedisServer.newRedisServer()
2626
// bind to localhost to avoid firewall popup
2727
.setting("bind 127.0.0.1")
2828
// set max memory to avoid problems in CI
@@ -54,7 +54,7 @@ abstract class RediscalaClientTest extends VersionedNamingTestBase {
5454
system,
5555
new RedisDispatcher("rediscala.rediscala-client-worker-dispatcher"))
5656

57-
println "Using redis: $redisServer.args"
57+
println "Using redis: $redisServer.@args"
5858
redisServer.start()
5959
}
6060

0 commit comments

Comments
 (0)