HDFS-12417. Disable flaky TestDFSStripedOutputStreamWithFailure.

This commit is contained in:
Andrew Wang 2017-09-12 11:20:56 -07:00
parent a6432ba5a1
commit 80ee89b287

View File

@ -259,6 +259,8 @@ public void testMultipleDatanodeFailureRandomLength() throws Exception {
@Test(timeout=240000) @Test(timeout=240000)
public void testBlockTokenExpired() throws Exception { 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 int length = dataBlocks * (blockSize - cellSize);
final HdfsConfiguration conf = newHdfsConfiguration(); final HdfsConfiguration conf = newHdfsConfiguration();
@ -631,6 +633,8 @@ int getBase() {
private void run(int offset) { private void run(int offset) {
int base = getBase(); 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); assumeTrue(base >= 0);
final int i = offset + base; final int i = offset + base;
final Integer length = getLength(i); final Integer length = getLength(i);