@Test
public void testSettingRetryOptions() throws IOException {

  configuration.set(BigtableOptionsFactory.ENABLE_GRPC_RETRIES_KEY, "false");
  configuration.set(BigtableOptionsFactory.ENABLE_GRPC_RETRY_DEADLINEEXCEEDED_KEY, "false");
  configuration.set(BigtableOptionsFactory.MAX_ELAPSED_BACKOFF_MILLIS_KEY, "111");
  configuration.set(BigtableOptionsFactory.READ_PARTIAL_ROW_TIMEOUT_MS, "123");
  BigtableOptions options =
      ((BigtableHBaseClassicSettings) BigtableHBaseSettings.create(configuration))
          .getBigtableOptions();
  RetryOptions retryOptions = options.getRetryOptions();
  assertFalse(retryOptions.enableRetries());
  assertFalse(retryOptions.retryOnDeadlineExceeded());
  assertEquals(111, retryOptions.getMaxElapsedBackoffMillis());
  assertEquals(123, retryOptions.getReadPartialRowTimeoutMillis());
}