Program: 82643
Project: 82643
Buggy source:
public void testWithDynEvicted2() throws Exception {
  project.setProperty("String_Node_Str","String_Node_Str");
  IvyResolve res=new IvyResolve();
  res.setValidate(false);
  res.setProject(project);
  res.execute();
  deliver.setPubrevision("String_Node_Str");
  deliver.setDeliverpattern("String_Node_Str");
  deliver.setValidate(false);
  deliver.execute();
  File deliveredIvyFile=new File("String_Node_Str");
  assertTrue(deliveredIvyFile.exists());
  ModuleDescriptor md=XmlModuleDescriptorParser.getInstance().parseDescriptor(new IvySettings(),deliveredIvyFile.toURL(),false);
  assertEquals(ModuleRevisionId.newInstance("String_Node_Str","String_Node_Str","String_Node_Str"),md.getModuleRevisionId());
  DependencyDescriptor[] dds=md.getDependencies();
  assertEquals(2,dds.length);
  assertEquals(ModuleRevisionId.newInstance("String_Node_Str","String_Node_Str","String_Node_Str"),dds[1].getDependencyRevisionId());
  IvyRetrieve ret=new IvyRetrieve();
  ret.setProject(project);
  ret.setPattern("String_Node_Str");
  ret.execute();
  File list=new File("String_Node_Str");
  String[] files=list.list();
  HashSet actualFileSet=new HashSet(Arrays.asList(files));
  HashSet expectedFileSet=new HashSet();
  for (int i=0; i < dds.length; i++) {
    DependencyDescriptor dd=dds[i];
    String name=dd.getDependencyId().getName();
    String rev=dd.getDependencyRevisionId().getRevision();
    String ext="String_Node_Str";
    String artifact=name + "String_Node_Str" + rev+ "String_Node_Str"+ ext;
    expectedFileSet.add(artifact);
  }
  assertEquals("String_Node_Str",expectedFileSet,actualFileSet);
  list.delete();
}

Fixed version (ground truth):
public void testWithDynEvicted2() throws Exception {
  project.setProperty("String_Node_Str","String_Node_Str");
  IvyResolve res=new IvyResolve();
  res.setValidate(false);
  res.setProject(project);
  res.execute();
  deliver.setPubrevision("String_Node_Str");
  deliver.setDeliverpattern("String_Node_Str");
  deliver.setValidate(false);
  deliver.execute();
  File deliveredIvyFile=new File("String_Node_Str");
  assertTrue(deliveredIvyFile.exists());
  ModuleDescriptor md=XmlModuleDescriptorParser.getInstance().parseDescriptor(new IvySettings(),deliveredIvyFile.toURI().toURL(),false);
  assertEquals(ModuleRevisionId.newInstance("String_Node_Str","String_Node_Str","String_Node_Str"),md.getModuleRevisionId());
  DependencyDescriptor[] dds=md.getDependencies();
  assertEquals(2,dds.length);
  assertEquals(ModuleRevisionId.newInstance("String_Node_Str","String_Node_Str","String_Node_Str"),dds[1].getDependencyRevisionId());
  IvyRetrieve ret=new IvyRetrieve();
  ret.setProject(project);
  ret.setPattern("String_Node_Str");
  ret.execute();
  File list=new File("String_Node_Str");
  String[] files=list.list();
  HashSet actualFileSet=new HashSet(Arrays.asList(files));
  HashSet expectedFileSet=new HashSet();
  for (int i=0; i < dds.length; i++) {
    DependencyDescriptor dd=dds[i];
    String name=dd.getDependencyId().getName();
    String rev=dd.getDependencyRevisionId().getRevision();
    String ext="String_Node_Str";
    String artifact=name + "String_Node_Str" + rev+ "String_Node_Str"+ ext;
    expectedFileSet.add(artifact);
  }
  assertEquals("String_Node_Str",expectedFileSet,actualFileSet);
  list.delete();
}