YARN-5920. Fix deadlock in TestRMHA.testTransitionedToStandbyShouldNotHang. Contributed by Varun Saxena.

This commit is contained in:
Rohith Sharma K S 2016-11-24 12:18:38 +05:30
parent 10468529a9
commit e15c20edba

View File

@ -465,8 +465,7 @@ public void testTransitionedToStandbyShouldNotHang() throws Exception {
MemoryRMStateStore memStore = new MemoryRMStateStore() {
@Override
public synchronized void updateApplicationState(
ApplicationStateData appState) {
public void updateApplicationState(ApplicationStateData appState) {
notifyStoreOperationFailed(new StoreFencedException());
}
};