Skip to content

Commit

Permalink
Force protocol v4 for driver connection
Browse files Browse the repository at this point in the history
  • Loading branch information
emerkle826 authored Mar 3, 2021
1 parent 858e0e7 commit 62b975f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion management-api-agent-dse-6.8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<bytebuddy.version>1.9.15</bytebuddy.version>
<docker.java.version>3.1.5</docker.java.version>
<driver.version>4.10.0</driver.version>
<junit.version>4.13.1</junit.version>
<build.version.file>build_version.sh</build.version.file>
</properties>

Expand Down Expand Up @@ -62,7 +63,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ public String toString()
session = new LocalSessionBuilder(unixSocketEndpoint)
.withConfigLoader(DriverConfigLoader.programmaticBuilder()
.withDuration(DefaultDriverOption.REQUEST_TIMEOUT, Duration.of(30, SECONDS))
// force protocol V4 for now
.withString(DefaultDriverOption.PROTOCOL_VERSION, "V4")
.build())
.build();
}
Expand Down

0 comments on commit 62b975f

Please sign in to comment.