@Test
public void testRepeatedClose() throws Exception {

	final Configuration flinkConfig = new Configuration();
	final YarnHighAvailabilityServices services = new YarnIntraNonHaMasterServices(flinkConfig, hadoopConfig);
	services.closeAndCleanupAllData();
	// this should not throw an exception
	services.close();
}