@Test
public void testBootStrapWithEmptyUserConfiguration()
    throws ResourceHandlerException {

  // User configuration contains invalid minor device number
  String allowed = "";
  boolean invalidConfiguration = false;
  configuration.set(YarnConfiguration.NM_FPGA_ALLOWED_DEVICES, allowed);
  try {
    fpgaResourceHandler.bootstrap(configuration);
  } catch (ResourceHandlerException e) {
    invalidConfiguration = true;
  }
  Assert.assertTrue(invalidConfiguration);
}