@Test
public void testNoCommitAction() throws IOException {

  TaskAttemptContext taskAttemptContext = getTaskAttemptContext(config);
  JobContext jobContext = new JobContextImpl(
      taskAttemptContext.getConfiguration(),
      taskAttemptContext.getTaskAttemptID().getJobID());
  OutputCommitter committer = new CopyCommitter(null, taskAttemptContext);
  committer.commitJob(jobContext);
  Assert.assertEquals("Commit Successful", taskAttemptContext.getStatus());
  //Test for idempotent commit
  committer.commitJob(jobContext);
  Assert.assertEquals("Commit Successful", taskAttemptContext.getStatus());
}