HDFS-12417. Disable flaky TestDFSStripedOutputStreamWithFailure.

This commit is contained in:
Andrew Wang 2017-09-12 11:20:56 -07:00
parent a6432ba5a1
commit 80ee89b287
1 changed files with 4 additions and 0 deletions

View File

@ -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);