From c97df7712ce35938c2f4ccbbdc60c6671a7a67b0 Mon Sep 17 00:00:00 2001 From: Mukul Kumar Singh Date: Mon, 21 May 2018 19:06:26 +0530 Subject: [PATCH] HDDS-57. TestContainerCloser#testRepeatedClose and TestContainerCloser#testCleanupThreadRuns fail consistently. Contributed by Shashikant Banerjee. --- .../hadoop/hdds/scm/container/closer/TestContainerCloser.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/closer/TestContainerCloser.java b/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/closer/TestContainerCloser.java index f3f37c72d1..15ecbada2e 100644 --- a/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/closer/TestContainerCloser.java +++ b/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/closer/TestContainerCloser.java @@ -213,8 +213,7 @@ private void sendContainerReport(ContainerInfo info, long used) throws .setReadCount(100000000L) .setWriteCount(100000000L) .setReadBytes(2000000000L) - .setWriteBytes(2000000000L) - .setContainerID(1L); + .setWriteBytes(2000000000L); reports.setDatanodeDetails( TestUtils.getDatanodeDetails().getProtoBufMessage()); reports.addReports(ciBuilder);