You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by jh...@apache.org on 2017/06/09 03:04:21 UTC

[06/29] hadoop git commit: HADOOP-14472. Azure: TestReadAndSeekPageBlobAfterWrite fails intermittently. Contributed by Mingliang Liu

HADOOP-14472. Azure: TestReadAndSeekPageBlobAfterWrite fails intermittently. Contributed by Mingliang Liu


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6b5285bb
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6b5285bb
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6b5285bb

Branch: refs/heads/YARN-5734
Commit: 6b5285bbcb439944ba6c4701571ffbb00258d5a1
Parents: 19ef3a8
Author: Mingliang Liu <li...@apache.org>
Authored: Tue Jun 6 11:06:49 2017 -0700
Committer: Mingliang Liu <li...@apache.org>
Committed: Tue Jun 6 11:06:49 2017 -0700

----------------------------------------------------------------------
 .../fs/azure/TestReadAndSeekPageBlobAfterWrite.java       | 10 ----------
 1 file changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6b5285bb/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/TestReadAndSeekPageBlobAfterWrite.java
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/TestReadAndSeekPageBlobAfterWrite.java b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/TestReadAndSeekPageBlobAfterWrite.java
index e6219df..41b8386 100644
--- a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/TestReadAndSeekPageBlobAfterWrite.java
+++ b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/TestReadAndSeekPageBlobAfterWrite.java
@@ -275,18 +275,8 @@ public class TestReadAndSeekPageBlobAfterWrite {
         writesSinceHFlush++;
         output.flush();
         if ((i % SYNC_INTERVAL) == 0) {
-          long start = Time.monotonicNow();
           output.hflush();
           writesSinceHFlush = 0;
-          long end = Time.monotonicNow();
-
-          // A true, round-trip synchronous flush to Azure must take
-          // a significant amount of time or we are not syncing to storage correctly.
-          LOG.debug("hflush duration = " + (end - start) + " msec.");
-          assertTrue(String.format(
-            "hflush duration of %d, less than minimum expected of %d",
-            end - start, MINIMUM_EXPECTED_TIME),
-            end - start >= MINIMUM_EXPECTED_TIME);
         }
       }
     } finally {


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org