/**
   * How we handle SVN Material and other Material(Hg Git and etc) is different, which caused the
   * bug #2375
   */
  @Test
  public void shouldNotGetModificationWhenCheckInFilesInIgnoredList() throws Exception {
    prepareAPipelineWithHistory();

    checkInFiles(
        "helper/resources/images/cruise/StageActivity.png",
        "helper/topics/upgrading_go.xml",
        "helper/topics/whats_new_in_go.xml");

    Map<String, BuildCause> beforeLoad = pipelineScheduleQueue.toBeScheduled();

    scheduleHelper.autoSchedulePipelinesWithRealMaterials();

    Map<String, BuildCause> afterLoad = pipelineScheduleQueue.toBeScheduled();
    assertThat(afterLoad.size(), is(beforeLoad.size()));
  }
 @After
 public void teardown() throws Exception {
   TestRepo.internalTearDown();
   dbHelper.onTearDown();
   FileUtil.deleteFolder(goConfigService.artifactsDir());
   FileUtil.deleteFolder(workingFolder);
   TestRepo.internalTearDown();
   pipelineScheduleQueue.clear();
 }