@@ -59,8 +59,8 @@ public static void afterAll() {
5959 }
6060
6161 @ Test
62- public void testBadRequests () {
63- ExternalShuffleBlockResolver resolver = new ExternalShuffleBlockResolver (conf );
62+ public void testBadRequests () throws IOException , ClassNotFoundException {
63+ ExternalShuffleBlockResolver resolver = new ExternalShuffleBlockResolver (conf , null );
6464 // Unregistered executor
6565 try {
6666 resolver .getBlockData ("app0" , "exec1" , "shuffle_1_1_0" );
@@ -90,8 +90,8 @@ public void testBadRequests() {
9090 }
9191
9292 @ Test
93- public void testSortShuffleBlocks () throws IOException {
94- ExternalShuffleBlockResolver resolver = new ExternalShuffleBlockResolver (conf );
93+ public void testSortShuffleBlocks () throws IOException , ClassNotFoundException {
94+ ExternalShuffleBlockResolver resolver = new ExternalShuffleBlockResolver (conf , null );
9595 resolver .registerExecutor ("app0" , "exec0" ,
9696 dataContext .createExecutorInfo ("org.apache.spark.shuffle.sort.SortShuffleManager" ));
9797
@@ -109,8 +109,8 @@ public void testSortShuffleBlocks() throws IOException {
109109 }
110110
111111 @ Test
112- public void testHashShuffleBlocks () throws IOException {
113- ExternalShuffleBlockResolver resolver = new ExternalShuffleBlockResolver (conf );
112+ public void testHashShuffleBlocks () throws IOException , ClassNotFoundException {
113+ ExternalShuffleBlockResolver resolver = new ExternalShuffleBlockResolver (conf , null );
114114 resolver .registerExecutor ("app0" , "exec0" ,
115115 dataContext .createExecutorInfo ("org.apache.spark.shuffle.hash.HashShuffleManager" ));
116116
0 commit comments