HADOOP-8697. TestWritableName fails intermittently with JDK7 (Trevor Robinson via tgraves)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1374349 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8bd4a22a26
commit
9c060fe229
|
@ -922,6 +922,9 @@ Release 0.23.3 - UNRELEASED
|
||||||
HADOOP-8693. TestSecurityUtil fails intermittently with JDK7 (Trevor
|
HADOOP-8693. TestSecurityUtil fails intermittently with JDK7 (Trevor
|
||||||
Robinson via tgraves)
|
Robinson via tgraves)
|
||||||
|
|
||||||
|
HADOOP-8697. TestWritableName fails intermittently with JDK7 (Trevor
|
||||||
|
Robinson via tgraves)
|
||||||
|
|
||||||
Release 0.23.2 - UNRELEASED
|
Release 0.23.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -83,6 +83,7 @@ public class TestWritableName extends TestCase {
|
||||||
Configuration conf = new Configuration();
|
Configuration conf = new Configuration();
|
||||||
String altName = testName + ".alt";
|
String altName = testName + ".alt";
|
||||||
|
|
||||||
|
WritableName.setName(SimpleWritable.class, testName);
|
||||||
WritableName.addName(SimpleWritable.class, altName);
|
WritableName.addName(SimpleWritable.class, altName);
|
||||||
|
|
||||||
Class<?> test = WritableName.getClass(altName, conf);
|
Class<?> test = WritableName.getClass(altName, conf);
|
||||||
|
|
Loading…
Reference in New Issue