File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/com/influxdb/v3/client Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ public void queryTimeoutExceededTest() {
317317 .host (System .getenv ("TESTING_INFLUXDB_URL" ))
318318 .token (System .getenv ("TESTING_INFLUXDB_TOKEN" ).toCharArray ())
319319 .database (System .getenv ("TESTING_INFLUXDB_DATABASE" ))
320- .queryTimeout (Duration .ofMillis ( 100 ))
320+ .queryTimeout (Duration .ofNanos ( 5000 ))
321321 .build ());
322322
323323 String measurement = "timeout_test_" + Math .round (Math .random () * 100_000 );
@@ -423,7 +423,7 @@ public void queryTimeoutSuperceededByGrpcOptTest() {
423423
424424 QueryOptions queryOptions = QueryOptions .defaultQueryOptions ();
425425 queryOptions .setGrpcCallOptions (new GrpcCallOptions .Builder ()
426- .withDeadline (Deadline .after (100 , TimeUnit .MILLISECONDS ))
426+ .withDeadline (Deadline .after (5000 , TimeUnit .NANOSECONDS ))
427427 .build ()
428428 );
429429
You can’t perform that action at this time.
0 commit comments