Skip to content
This repository
Browse code

rerun unit test modified slightly to account for fs 'move' bug fix

  • Loading branch information...
commit 4396fcef1a66cec599c710aea7afec0ee1cbb701 1 parent ec35210
Mona Chitnis authored Mohammad Kamrul Islam committed
2  core/src/test/java/org/apache/oozie/command/wf/TestReRunCommand.java
@@ -52,7 +52,7 @@ public void testRerun() throws IOException, OozieClientException {
52 52
53 53 Path path = getFsTestCaseDir();
54 54
55   - getFileSystem().mkdirs(new Path(path, "p2"));
  55 + getFileSystem().create(new Path(path, "p2"));
56 56
57 57 final OozieClient wfClient = LocalOozie.getClient();
58 58 Properties conf = wfClient.createConfiguration();
4 core/src/test/java/org/apache/oozie/command/wf/TestReRunXCommand.java
@@ -52,7 +52,7 @@ public void testRerun() throws IOException, OozieClientException {
52 52
53 53 Path path = getFsTestCaseDir();
54 54
55   - getFileSystem().mkdirs(new Path(path, "p2"));
  55 + getFileSystem().create(new Path(path, "p2"));
56 56
57 57 final OozieClient wfClient = LocalOozie.getClient();
58 58 Properties conf = wfClient.createConfiguration();
@@ -105,7 +105,7 @@ public void testRerunFromFailNodes() throws IOException, OozieClientException {
105 105
106 106 Path path = getFsTestCaseDir();
107 107
108   - getFileSystem().mkdirs(new Path(path, "p2"));
  108 + getFileSystem().create(new Path(path, "p2"));
109 109
110 110 final OozieClient wfClient = LocalOozie.getClient();
111 111 Properties conf = wfClient.createConfiguration();

0 comments on commit 4396fce

Please sign in to comment.
Something went wrong with that request. Please try again.