Skip to content

Commit

Permalink
[hotfix] [hadoopCompat] Fix tests to verify results new Hadoop input …
Browse files Browse the repository at this point in the history
…API.

This closes apache#4325.
  • Loading branch information
fhueske committed Jul 18, 2017
1 parent 471345c commit ba7ec5e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ protected void testProgram() throws Exception {
postSubmit();
resultPath = getTempDirPath("result2");
internalRun(false);
postSubmit();
}

private void internalRun(boolean isTestDeprecatedAPI) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ protected void testProgram() throws Exception {
postSubmit();
resultPath = getTempDirPath("result2");
internalRun(false);
postSubmit();
}

private void internalRun(boolean isTestDeprecatedAPI) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class WordCountMapredITCase extends JavaProgramTestBase {
postSubmit()
resultPath = getTempDirPath("result2")
internalRun(testDeprecatedAPI = false)
postSubmit()
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class WordCountMapreduceITCase extends JavaProgramTestBase {
postSubmit()
resultPath = getTempDirPath("result2")
internalRun(testDeprecatedAPI = false)
postSubmit()
}

private def internalRun (testDeprecatedAPI: Boolean): Unit = {
Expand Down

0 comments on commit ba7ec5e

Please sign in to comment.