From 80ee89b2871ce2b4b7387de6e410f53d798dfd0b Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Tue, 12 Sep 2017 11:20:56 -0700 Subject: [PATCH] HDFS-12417. Disable flaky TestDFSStripedOutputStreamWithFailure. --- .../hadoop/hdfs/TestDFSStripedOutputStreamWithFailure.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSStripedOutputStreamWithFailure.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSStripedOutputStreamWithFailure.java index f63a353815..6b94a08fdd 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSStripedOutputStreamWithFailure.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSStripedOutputStreamWithFailure.java @@ -259,6 +259,8 @@ public void testMultipleDatanodeFailureRandomLength() throws Exception { @Test(timeout=240000) public void testBlockTokenExpired() throws Exception { + // TODO: this is very flaky, re-enable it later. See HDFS-12417. + assumeTrue("Test has been temporarily disabled. See HDFS-12417.", false); final int length = dataBlocks * (blockSize - cellSize); final HdfsConfiguration conf = newHdfsConfiguration(); @@ -631,6 +633,8 @@ int getBase() { private void run(int offset) { int base = getBase(); + // TODO: Fix and re-enable these flaky tests. See HDFS-12417. + assumeTrue("Test has been temporarily disabled. See HDFS-12417.", false); assumeTrue(base >= 0); final int i = offset + base; final Integer length = getLength(i);