From fba222a85603d6321419aa37bcc48d276dd6c4a6 Mon Sep 17 00:00:00 2001 From: Xiaoyu Yao Date: Fri, 9 Aug 2019 22:09:50 -0700 Subject: [PATCH] HDDS-1943. TestKeyManagerImpl.testLookupKeyWithLocation is failing. Contributed by Xiaoyu Yao. (#1262) --- .../test/java/org/apache/hadoop/ozone/om/TestKeyManagerImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestKeyManagerImpl.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestKeyManagerImpl.java index 4c3dce9fdf2..83b0705ef30 100644 --- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestKeyManagerImpl.java +++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestKeyManagerImpl.java @@ -699,6 +699,7 @@ public class TestKeyManagerImpl { String keyName = RandomStringUtils.randomAlphabetic(5); OmKeyArgs keyArgs = createBuilder() .setKeyName(keyName) + .setSortDatanodesInPipeline(true) .build(); // lookup for a non-existent key