HADOOP-12514. Make static fields in GenericTestUtils for assertExceptionContains() package-private and final. (Mingliang Liu via stevel)

This commit is contained in:
Steve Loughran 2015-10-28 10:36:26 +00:00
parent ff2b2bea91
commit a04b16970b
2 changed files with 7 additions and 4 deletions

View File

@ -919,6 +919,10 @@ Release 2.8.0 - UNRELEASED
HADOOP-12472. Make GenericTestUtils.assertExceptionContains robust. HADOOP-12472. Make GenericTestUtils.assertExceptionContains robust.
(Steve Loughran via jing9) (Steve Loughran via jing9)
HADOOP-12514. Make static fields in GenericTestUtils for
assertExceptionContains() package-private and final.
(Mingliang Liu via stevel)
HADOOP-12520. Use XInclude in hadoop-azure test configuration to isolate HADOOP-12520. Use XInclude in hadoop-azure test configuration to isolate
Azure Storage account keys for service integration tests. (cnauroth) Azure Storage account keys for service integration tests. (cnauroth)

View File

@ -143,11 +143,10 @@ public static void assertGlobEquals(File dir, String pattern,
Joiner.on(",").join(found)); Joiner.on(",").join(found));
} }
protected static String E_NULL_THROWABLE = "Null Throwable"; static final String E_NULL_THROWABLE = "Null Throwable";
protected static String E_NULL_THROWABLE_STRING = static final String E_NULL_THROWABLE_STRING =
"Null Throwable.toString() value"; "Null Throwable.toString() value";
protected static String E_UNEXPECTED_EXCEPTION = static final String E_UNEXPECTED_EXCEPTION = "but got unexpected exception";
"but got unexpected exception";
/** /**
* Assert that an exception's <code>toString()</code> value * Assert that an exception's <code>toString()</code> value