File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs-plugins
src/test/java/org/apache/hadoop/mapreduce/v2/hs/webapp Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 3636 <groupId >org.apache.hadoop</groupId >
3737 <artifactId >hadoop-yarn-common</artifactId >
3838 </dependency >
39+ <dependency >
40+ <groupId >org.junit.jupiter</groupId >
41+ <artifactId >junit-jupiter-api</artifactId >
42+ <scope >test</scope >
43+ </dependency >
44+ <dependency >
45+ <groupId >org.junit.jupiter</groupId >
46+ <artifactId >junit-jupiter-engine</artifactId >
47+ <scope >test</scope >
48+ </dependency >
49+ <dependency >
50+ <groupId >org.junit.platform</groupId >
51+ <artifactId >junit-platform-launcher</artifactId >
52+ <scope >test</scope >
53+ </dependency >
3954 <dependency >
4055 <groupId >org.apache.hadoop</groupId >
4156 <artifactId >hadoop-mapreduce-client-common</artifactId >
Original file line number Diff line number Diff line change 1818
1919package org .apache .hadoop .mapreduce .v2 .hs .webapp ;
2020
21- import static org .junit .Assert .assertEquals ;
21+ import static org .junit .jupiter . api . Assertions .assertEquals ;
2222
2323import java .net .URI ;
2424import java .net .URISyntaxException ;
2727import org .apache .hadoop .mapreduce .v2 .jobhistory .JHAdminConfig ;
2828import org .apache .hadoop .yarn .api .records .ApplicationId ;
2929import org .apache .hadoop .yarn .conf .YarnConfiguration ;
30- import org .junit .Test ;
30+ import org .junit .jupiter . api . Test ;
3131
3232public class TestMapReduceTrackingUriPlugin {
3333 @ Test
34- public void testProducesHistoryServerUriForAppId ()
34+ void testProducesHistoryServerUriForAppId ()
3535 throws URISyntaxException {
3636 final String historyAddress = "example.net:424242" ;
3737 YarnConfiguration conf = new YarnConfiguration ();
@@ -49,7 +49,7 @@ public void testProducesHistoryServerUriForAppId()
4949 }
5050
5151 @ Test
52- public void testProducesHistoryServerUriWithHTTPS ()
52+ void testProducesHistoryServerUriWithHTTPS ()
5353 throws URISyntaxException {
5454 final String historyAddress = "example.net:404040" ;
5555 YarnConfiguration conf = new YarnConfiguration ();
You can’t perform that action at this time.
0 commit comments