From 6bb401616c40b392bf8fb203c9736402bddcd3ab Mon Sep 17 00:00:00 2001 From: Bharat Viswanadham Date: Thu, 8 Nov 2018 17:52:09 -0800 Subject: [PATCH] HDDS-812. TestEndPoint#testCheckVersionResponse is failing. Contributed by Hanisha Koneru. (cherry picked from commit 66bf62404a038193fe5849c84edaa062d8e05f44) --- .../org/apache/hadoop/ozone/container/common/TestEndPoint.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/ozone/container/common/TestEndPoint.java b/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/ozone/container/common/TestEndPoint.java index 390746f4dce..e4350f20426 100644 --- a/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/ozone/container/common/TestEndPoint.java +++ b/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/ozone/container/common/TestEndPoint.java @@ -195,6 +195,7 @@ public class TestEndPoint { // different from SCM server response scmId String newScmId = UUID.randomUUID().toString(); scmServerImpl.setScmId(newScmId); + rpcEndPoint.setState(EndpointStateMachine.EndPointStates.GETVERSION); newState = versionTask.call(); Assert.assertEquals(EndpointStateMachine.EndPointStates.SHUTDOWN, newState);