Skip to content

Commit

Permalink
update: ysql latest driver and the default image tag
Browse files Browse the repository at this point in the history
Signed-off-by: Srinivasa Vasu <srinivasan.surprise@gmail.com>
  • Loading branch information
srinivasa-vasu committed Nov 14, 2021
1 parent a0cfea9 commit 45273e7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions modules/yugabytedb/build.gradle
@@ -1,10 +1,11 @@
description = "Testcontainers :: JDBC :: YugabyteDB"

dependencies {
api project(':jdbc')
// api project(':jdbc')
api 'org.testcontainers:jdbc:1.16.0'
testImplementation project(':jdbc-test')
// YCQL driver
implementation 'com.yugabyte:java-driver-core:4.6.0-yb-6'
// YSQL driver
testImplementation 'com.yugabyte:jdbc-yugabytedb:42.2.7-yb-5-beta.2'
testImplementation 'com.yugabyte:jdbc-yugabytedb:42.3.0'
}
Expand Up @@ -11,7 +11,7 @@ public interface YugabyteContainerConstants {

DockerImageName DEFAULT_IMAGE_NAME = DockerImageName.parse("yugabytedb/yugabyte");

String DEFAULT_TAG = "2.7.2.0-b216";
String DEFAULT_TAG = "2.9.1.0-b140";

String NAME = "yugabyte";

Expand All @@ -23,9 +23,9 @@ public interface YugabyteContainerConstants {

Integer TSERVER_DASHBOARD_PORT = 9000;

String JDBC_DRIVER_CLASS = "org.postgresql.Driver";
String JDBC_DRIVER_CLASS = "com.yugabyte.Driver";

String JDBC_CONNECT_PREFIX = "jdbc:postgresql";
String JDBC_CONNECT_PREFIX = "jdbc:yugabytedb";

String ENTRYPOINT = "bin/yugabyted start --daemon=false";

Expand Down
Expand Up @@ -7,7 +7,7 @@
*/
public interface YugabyteTestContainerConstants {

String IMAGE_NAME = "yugabytedb/yugabyte:2.7.2.0-b216";
String IMAGE_NAME = "yugabytedb/yugabyte:2.9.1.0-b140";

DockerImageName YBDB_TEST_IMAGE = DockerImageName.parse(IMAGE_NAME);

Expand Down

0 comments on commit 45273e7

Please sign in to comment.