Skip to content

Commit

Permalink
Closes #28. Remove the check for truncate in the integration test. (PR
Browse files Browse the repository at this point in the history
  • Loading branch information
xkrogen authored May 3, 2018
1 parent db15906 commit bc6e48c
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@
* the workload job is launched and it is verified that it completes successfully
* and is able to replay commands as expected.
*
* To run this test JAVA_HOME must be set correctly.
* This also relies on the {@code tar} and {@code truncate} utilities
* being available ({@code truncate} is generally required to run Dynamometer).
* To run this test JAVA_HOME must be set correctly, and the {@code tar} utility must be available.
*
* You can optionally specify which version of HDFS should be started within
* the Dynamometer cluster; the default is {@value HADOOP_BIN_VERSION_DEFAULT}. This can be adjusted
Expand Down Expand Up @@ -118,12 +116,6 @@ public static void setupClass() throws Exception {
if (tarCheck.getExitCode() != 0) {
fail("tar command is not available");
}
Shell.ShellCommandExecutor truncateCheck =
new Shell.ShellCommandExecutor(new String[] {"bash", "-c", "command -v truncate"});
truncateCheck.execute();
if (truncateCheck.getExitCode() != 0) {
fail("truncate command is not available");
}

conf = new Configuration();
// Follow the conventions of MiniDFSCluster
Expand Down

0 comments on commit bc6e48c

Please sign in to comment.