@@ -72,6 +72,7 @@ public void testHttpsClientBuilderWithConnection() {
7272 @ Test
7373 public void testHttpsClientWithConnectionPoolNoUserParam () {
7474 client = HugeClient .builder (BASE_URL , GRAPHSPACE , GRAPH )
75+ .configUser (USERNAME , PASSWORD )
7576 .configConnectTimeout (3 )
7677 .configReadTimeout (10 )
7778 .configPool (MAX_CONNS , MAX_CONNS_PER_ROUTE )
@@ -132,6 +133,7 @@ public void testHttpsClientNewBuilderZeroPoolParam() {
132133 public void testHttpsClientBuilderWithConnectionPoolNoParam () {
133134 Assert .assertThrows (IllegalArgumentException .class , () -> {
134135 HugeClient .builder (BASE_URL , GRAPHSPACE , GRAPH )
136+ .configUser (USERNAME , PASSWORD )
135137 .configUrl (null )
136138 .configGraph (null )
137139 .configSSL ("" , "" )
@@ -146,6 +148,7 @@ public void testHttpsClientBuilderWithConnectionPoolNoParam() {
146148 public void testHttpsClientBuilderWithConnectionPoolNoGraphParam () {
147149 Assert .assertThrows (IllegalArgumentException .class , () -> {
148150 HugeClient .builder (BASE_URL , GRAPHSPACE , GRAPH )
151+ .configUser (USERNAME , PASSWORD )
149152 .configGraph (null )
150153 .configSSL ("" , "" )
151154 .build ();
@@ -159,6 +162,7 @@ public void testHttpsClientBuilderWithConnectionPoolNoGraphParam() {
159162 public void testHttpsClientBuilderWithConnectionPoolZeroIdleTimeParam () {
160163 Assert .assertThrows (IllegalArgumentException .class , () -> {
161164 HugeClient .builder (BASE_URL , GRAPHSPACE , GRAPH )
165+ .configUser (USERNAME , PASSWORD )
162166 .configIdleTime (0 )
163167 .build ();
164168 }, e -> {
0 commit comments