We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f28fed commit e1302cbCopy full SHA for e1302cb
src/test/java/com/influxdb/v3/client/query/QueryOptionsTest.java
@@ -182,9 +182,11 @@ void setInboundMessageSizeLarge() throws Exception {
182
183
@Test
184
void grpcCallOptionDefaultOptions() {
185
- GrpcCallOption grpcCallOption = new GrpcCallOption.Builder().build();
186
- Assertions.assertThat(grpcCallOption.getMaxInboundMessageSize())
187
- .isEqualTo(Integer.MAX_VALUE);
+ QueryOptions queryOptions = new QueryOptions("test");
+ queryOptions.setGrpcCallOption(new GrpcCallOption.Builder().build());
+ Assertions.assertThat(queryOptions.grpcCallOption()).isNotNull();
188
+ Assertions.assertThat(queryOptions.grpcCallOption()
189
+ .getMaxInboundMessageSize()).isEqualTo(Integer.MAX_VALUE);
190
}
191
192
0 commit comments