You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/ClusterMapReduceTestCase.java
Copy file name to clipboardExpand all lines: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/HadoopTestCase.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,8 @@
21
21
importorg.apache.hadoop.fs.FileSystem;
22
22
importorg.apache.hadoop.hdfs.MiniDFSCluster;
23
23
importorg.apache.hadoop.mapreduce.MRConfig;
24
-
importorg.junit.After;
25
-
importorg.junit.Before;
24
+
importorg.junit.jupiter.api.AfterEach;
25
+
importorg.junit.jupiter.api.BeforeEach;
26
26
27
27
importjava.io.IOException;
28
28
@@ -139,7 +139,7 @@ public boolean isLocalFS() {
139
139
*
140
140
* @throws Exception
141
141
*/
142
-
@Before
142
+
@BeforeEach
143
143
publicvoidsetUp() throwsException {
144
144
if (localFS) {
145
145
fileSystem = FileSystem.getLocal(newJobConf());
@@ -163,7 +163,7 @@ public void setUp() throws Exception {
Copy file name to clipboardExpand all lines: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/TestChild.java
Copy file name to clipboardExpand all lines: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/TestClientProtocolProviderImpls.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -91,9 +91,9 @@ public void testClusterExceptionRootCause() throws Exception {
91
91
fail("Cluster init should fail because of non-existing FileSystem");
Copy file name to clipboardExpand all lines: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/TestCounters.java
Copy file name to clipboardExpand all lines: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/TestLargeSort.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -59,8 +59,8 @@ public void testLargeSort() throws Exception {
59
59
conf.setInt(MRJobConfig.IO_SORT_MB, ioSortMb);
60
60
conf.setInt(LargeSorter.NUM_MAP_TASKS, 1);
61
61
conf.setInt(LargeSorter.MBS_PER_MAP, ioSortMb);
62
-
assertEquals(0
63
-
,ToolRunner.run(conf, newLargeSorter(), args),"Large sort failed for " + ioSortMb);
Copy file name to clipboardExpand all lines: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/TestMRIntermediateDataEncryption.java
0 commit comments