Skip to content

Commit

Permalink
test: fix sidecar driver name
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Ruaux committed Jun 30, 2022
1 parent e14bd3b commit b803024
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.utility.DockerImageName;

import com.redis.sidecar.SidecarDriver;
import com.redis.sidecar.core.AbstractSidecarTests;
import com.redis.testcontainers.RedisModulesContainer;
import com.zaxxer.hikari.HikariConfig;
Expand Down Expand Up @@ -66,7 +67,7 @@ void testPreparedStatement() throws Exception {
int redisPort = intProperty("redis.port", REDISMOD.getFirstMappedPort());
String redisHost = property("redis.host", REDISMOD.getHost());
config.setJdbcUrl("jdbc:redis://" + redisHost + ":" + redisPort);
config.setDriverClassName("com.redis.sidecar.Driver");
config.setDriverClassName(SidecarDriver.class.getName());
System.setProperty("sidecar.driver.url", POSTGRESQL.getJdbcUrl());
System.setProperty("sidecar.driver.class-name", POSTGRESQL.getDriverClassName());
System.setProperty("sidecar.metrics.publish-interval", "1");
Expand Down

0 comments on commit b803024

Please sign in to comment.