YARN-5920. Fix deadlock in TestRMHA.testTransitionedToStandbyShouldNotHang. Contributed by Varun Saxena.
(cherry picked from commit e15c20edba
)
This commit is contained in:
parent
6039a2a55f
commit
4daf5741e0
|
@ -464,8 +464,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