Skip to content

Commit

Permalink
Fix java compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
Baunsgaard committed Aug 21, 2023
1 parent 667885e commit f241678
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@

package org.apache.sysds.test.functions.io.compressed;

import java.io.IOException;

import org.apache.sysds.common.Types.ExecMode;
import org.apache.sysds.runtime.matrix.data.MatrixBlock;
import org.apache.sysds.test.AutomatedTestBase;
Expand Down Expand Up @@ -50,26 +48,26 @@ public void setUp() {
}

@Test
public void testCP() throws IOException {
public void testCP() throws Exception {
runWriteTest(ExecMode.SINGLE_NODE);
}

@Test
public void testHP() throws IOException {
public void testHP() throws Exception {
runWriteTest(ExecMode.HYBRID);
}

@Test
public void testSP() throws IOException {
public void testSP() throws Exception {
runWriteTest(ExecMode.SPARK);
}

private void runWriteTest(ExecMode platform) throws IOException {
private void runWriteTest(ExecMode platform) throws Exception {
runWriteTest(platform, 100, 100, 0, 0, 0.0);
}

private void runWriteTest(ExecMode platform, int rows, int cols, int min, int max, double sparsity)
throws IOException {
throws Exception {

ExecMode oldPlatform = rtplatform;
rtplatform = platform;
Expand Down

0 comments on commit f241678

Please sign in to comment.