/**
* Tests persistence of configured failure tolerance.
*/
public void testFailureTolerancePersistence() {
FailureTolerance oldTolerance = asr.getFailureTolerance();
asr.setAndStoreFailureTolerance(FailureTolerance.ACCEPT_ALL);
AlgoSelectionRegistry newASR = new AlgoSelectionRegistry();
newASR.init();
assertEquals(FailureTolerance.ACCEPT_ALL, newASR.getFailureTolerance());
asr.setAndStoreFailureTolerance(oldTolerance);