HDDS-812. TestEndPoint#testCheckVersionResponse is failing. Contributed by Hanisha Koneru.

This commit is contained in:
Bharat Viswanadham 2018-11-08 17:52:09 -08:00
parent 524a7523c4
commit 66bf62404a

View File

@ -196,6 +196,7 @@ public void testCheckVersionResponse() throws Exception {
// different from SCM server response scmId // different from SCM server response scmId
String newScmId = UUID.randomUUID().toString(); String newScmId = UUID.randomUUID().toString();
scmServerImpl.setScmId(newScmId); scmServerImpl.setScmId(newScmId);
rpcEndPoint.setState(EndpointStateMachine.EndPointStates.GETVERSION);
newState = versionTask.call(); newState = versionTask.call();
Assert.assertEquals(EndpointStateMachine.EndPointStates.SHUTDOWN, Assert.assertEquals(EndpointStateMachine.EndPointStates.SHUTDOWN,
newState); newState);