hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: HADOOP-11549. flaky test detection tool failed to handle special control characters in test result. Contributed by Yongjun Zhang.
Date Wed, 04 Feb 2015 22:18:55 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 55235d28c -> 5f4ef2d13


HADOOP-11549. flaky test detection tool failed to handle special control characters in test
result. Contributed by Yongjun Zhang.


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

Branch: refs/heads/trunk
Commit: 5f4ef2d13fa3fa3d4d315902e55c7775ef08b3d2
Parents: 55235d2
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Wed Feb 4 14:17:00 2015 -0800
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Wed Feb 4 14:17:00 2015 -0800

----------------------------------------------------------------------
 dev-support/determine-flaky-tests-hadoop.py     | 4 ++--
 hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/5f4ef2d1/dev-support/determine-flaky-tests-hadoop.py
----------------------------------------------------------------------
diff --git a/dev-support/determine-flaky-tests-hadoop.py b/dev-support/determine-flaky-tests-hadoop.py
old mode 100644
new mode 100755
index 6f16ba5..ce152ba
--- a/dev-support/determine-flaky-tests-hadoop.py
+++ b/dev-support/determine-flaky-tests-hadoop.py
@@ -92,10 +92,10 @@ def load_url_data(url):
     ourl = urllib.request.urlopen(url)
     codec = ourl.info().get_param('charset')
     content = ourl.read().decode(codec)
-    data = simplejson.loads(content)
+    data = simplejson.loads(content, strict=False)
   else:
     ourl = urllib2.urlopen(url)
-    data = simplejson.load(ourl)
+    data = simplejson.load(ourl, strict=False)
   return data
  
 """ List all builds of the target project. """

http://git-wip-us.apache.org/repos/asf/hadoop/blob/5f4ef2d1/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index eeca119..3b74dac 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -838,6 +838,9 @@ Release 2.7.0 - UNRELEASED
     HADOOP-11547. hadoop-common native compilation fails on Windows due to
     missing support for __attribute__ declaration. (cnauroth)
 
+    HADOOP-11549. flaky test detection tool failed to handle special control
+    characters in test result. (Yongjun Zhang via aajisaka)
+
 Release 2.6.1 - UNRELEASED
 
   INCOMPATIBLE CHANGES


Mime
View raw message