Skip to content

Commit

Permalink
Update hugegraph-common/src/test/java/org/apache/hugegraph/unit/rest/…
Browse files Browse the repository at this point in the history
…RestClientTest.java

Co-authored-by: imbajin <jin@apache.org>
  • Loading branch information
zhenyuT and imbajin committed Mar 13, 2024
1 parent 48c3d77 commit 210c06e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,8 @@ public void testBuilderCallback() {
//set config by builderCallback
RestClientConfig config = RestClientConfig.builder().builderCallback(
builder -> builder.connectTimeout(5, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS)).build();
.readTimeout(30, TimeUnit.SECONDS))
.build();

restClient = new MockRestClientImpl(TEST_URL, config);
okHttpClient = Whitebox.getInternalState(restClient, "client");
Expand Down

0 comments on commit 210c06e

Please sign in to comment.