YARN-5920. Fix deadlock in TestRMHA.testTransitionedToStandbyShouldNotHang. Contributed by Varun Saxena.
This commit is contained in:
parent
10468529a9
commit
e15c20edba
|
@ -465,8 +465,7 @@ public class TestRMHA {
|
||||||
|
|
||||||
MemoryRMStateStore memStore = new MemoryRMStateStore() {
|
MemoryRMStateStore memStore = new MemoryRMStateStore() {
|
||||||
@Override
|
@Override
|
||||||
public synchronized void updateApplicationState(
|
public void updateApplicationState(ApplicationStateData appState) {
|
||||||
ApplicationStateData appState) {
|
|
||||||
notifyStoreOperationFailed(new StoreFencedException());
|
notifyStoreOperationFailed(new StoreFencedException());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue