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