File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
templates/java/tests/client Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,6 @@ class {{client}}Benchmark {
4040 return ClientOptions.builder().setHosts(hosts).setCompressionType(gzipEncoding ? CompressionType.GZIP : CompressionType.NONE).build();
4141 }
4242
43- private ClientOptions withCustomWriteTimeout(Integer writeTimeout) {
44- return ClientOptions.builder().setWriteTimeout(Duration.ofMillis(writeTimeout)).build();
45- }
46-
4743 { {#blocksBenchmark} }
4844 { {> tests/client/tests} }
4945 { {/blocksBenchmark} }
Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ class {{client}}ClientTests {
5353 return ClientOptions.builder().setHosts(hosts).setCompressionType(gzipEncoding ? CompressionType.GZIP : CompressionType.NONE).build();
5454 }
5555
56+ private ClientOptions withCustomWriteTimeout(Integer writeTimeout) {
57+ return ClientOptions.builder().setWriteTimeout(Duration.ofMillis(writeTimeout)).build();
58+ }
59+
5660 { {#blocksClient} }
5761 { {> tests/client/tests} }
5862 { {/blocksClient} }
You can’t perform that action at this time.
0 commit comments