@Test
public void testIsJobFolderNoMatch() {

  Path filePath1 = new Path(Constants.TONY_CORE_SRC + "test/job/application_1541469337545_0024");
  Path filePath2 = new Path(Constants.TONY_CORE_SRC + "test/resources/application2/");
  String regex1 = ".*job.*";
  String regex2 = "application_.*";
  assertFalse(HdfsUtils.isJobFolder(filePath1, regex1));
  assertFalse(HdfsUtils.isJobFolder(filePath2, regex2));
}