1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16-
1716package io .opengemini .client .impl ;
1817
1918import io .github .openfacade .http .HttpClientConfig ;
5453
5554@ TestInstance (TestInstance .Lifecycle .PER_CLASS )
5655class OpenGeminiClientTest extends TestBase {
56+
5757 private final List <OpenGeminiClient > clients = new ArrayList <>();
5858
5959 protected List <OpenGeminiClient > clientList () throws OpenGeminiException {
@@ -69,19 +69,19 @@ protected List<OpenGeminiClient> clientList() throws OpenGeminiException {
6969 .connectTimeout (Duration .ofSeconds (3 ))
7070 .timeout (Duration .ofSeconds (3 ))
7171 .build ();
72- Configuration configuration =
73- Configuration .builder ()
74- .addresses (Collections .singletonList (new Address ("127.0.0.1" , 8086 )))
75- .httpConfig (httpConfig )
76- .gzipEnabled (false )
77- .build ();
72+ Configuration configuration
73+ = Configuration .builder ()
74+ .addresses (Collections .singletonList (new Address ("127.0.0.1" , 8086 )))
75+ .httpConfig (httpConfig )
76+ .gzipEnabled (false )
77+ .build ();
7878 clients .add (OpenGeminiClientFactory .create (configuration ));
7979 }
8080 List <CompressMethod > compressMethods = Arrays .asList (CompressMethod .SNAPPY , CompressMethod .GZIP ,
8181 CompressMethod .ZSTD );
8282 for (CompressMethod compressMethod : compressMethods ) {
8383 HttpClientConfig httpConfig = new HttpClientConfig .Builder ()
84- .engine (HttpClientEngine .AsyncHttpClient )
84+ .engine (HttpClientEngine .Async )
8585 .connectTimeout (Duration .ofSeconds (3 ))
8686 .timeout (Duration .ofSeconds (3 ))
8787 .build ();
0 commit comments