Skip to content

Commit f19ff38

Browse files
committed
Update dependency that are no longer maintained
1 parent a301b31 commit f19ff38

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Diff for: eventmesh-storage-plugin/eventmesh-storage-redis/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies {
2929
api 'io.cloudevents:cloudevents-json-jackson'
3030

3131
// test dependencies
32-
testImplementation 'ai.grakn:redis-mock:0.1.6'
32+
testImplementation 'com.github.fppt:jedis-mock:1.1.1'
3333
testImplementation "org.mockito:mockito-core"
3434

3535
compileOnly 'org.projectlombok:lombok'

Diff for: eventmesh-storage-plugin/eventmesh-storage-redis/src/test/java/org/apache/eventmesh/storage/redis/AbstractRedisServer.java

+5-3
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,25 @@
1717

1818
package org.apache.eventmesh.storage.redis;
1919

20+
import java.io.IOException;
21+
2022
import org.junit.jupiter.api.AfterAll;
2123
import org.junit.jupiter.api.BeforeAll;
2224

23-
import ai.grakn.redismock.RedisServer;
25+
import com.github.fppt.jedismock.RedisServer;
2426

2527
public abstract class AbstractRedisServer {
2628

2729
private static RedisServer redisServer;
2830

2931
@BeforeAll
30-
public static void setupRedisServer() throws Exception {
32+
public static void setupRedisServer() throws IOException {
3133
redisServer = RedisServer.newRedisServer(6379);
3234
redisServer.start();
3335
}
3436

3537
@AfterAll
36-
public static void shutdownRedisServer() {
38+
public static void shutdownRedisServer() throws IOException {
3739
if (redisServer != null) {
3840
redisServer.stop();
3941
}

0 commit comments

Comments
 (0)