File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/test/java/com/influxdb/v3/client/internal Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 2222package com .influxdb .v3 .client .internal ;
2323
2424
25+ import java .util .concurrent .Executor ;
26+ import java .util .concurrent .Executors ;
2527import java .util .concurrent .TimeUnit ;
2628
2729import io .grpc .Deadline ;
@@ -117,7 +119,12 @@ void testMergeCallOptionsWithEmptyArrays() {
117119
118120 @ Test
119121 void grpcOptionsCloneTest () {
122+ Executor unusedExecutor = Executors .newSingleThreadExecutor ();
123+
120124 GrpcCallOptions origOptions = new GrpcCallOptions .Builder ()
125+ .withDeadline (Deadline .after (5000 , TimeUnit .MILLISECONDS ))
126+ .withCompressorName ("compressor" )
127+ .withExecutor (unusedExecutor )
121128 .withMaxInboundMessageSize (2000 )
122129 .withMaxOutboundMessageSize (1000 )
123130 .withWaitForReady ()
You can’t perform that action at this time.
0 commit comments