HDFS-12793. Ozone : TestSCMCli is failing consistently. Contributed by Chen Liang.
This commit is contained in:
parent
e395244e95
commit
761926db2c
|
@ -311,7 +311,7 @@ public class ContainerMapping implements Mapping {
|
|||
ContainerInfo updatedContainer = containerStateManager
|
||||
.updateContainerState(containerInfo, event);
|
||||
containerStore.put(dbKey, updatedContainer.getProtobuf().toByteArray());
|
||||
return containerInfo.getState();
|
||||
return updatedContainer.getState();
|
||||
} catch (LeaseException e) {
|
||||
throw new IOException("Lease Exception.", e);
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue