Explorar el Código

HDDS-1943. TestKeyManagerImpl.testLookupKeyWithLocation is failing. Contributed by Xiaoyu Yao. (#1262)

Xiaoyu Yao hace 5 años
padre
commit
fba222a856

+ 1 - 0
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