@Test
public void testWhenRetriesAreDisabled() throws IOException {

  RetryOptions retryOptions = RetryOptions.builder().setEnableRetries(false).build();
  BigtableOptions options =
      BigtableOptions.builder()
          .setProjectId(TEST_PROJECT_ID)
          .setInstanceId(TEST_INSTANCE_ID)
          .setRetryOptions(retryOptions)
          .build();
  expectException.expect(IllegalStateException.class);
  expectException.expectMessage("Disabling retries is not currently supported.");
  dataSettings = BigtableVeneerSettingsFactory.createBigtableDataSettings(options);
}