ivy2.configure(new File("test/repositories/norev/ivysettings.xml").toURI().toURL());
report = ivy2.resolve(new File("test/repositories/norev/ivy.xml"),
getResolveOptions(ivy2, new String[] {"*"}));
assertNotNull(report);
assertFalse(report.hasError());
mockLogger2.assertLogContains("norev/ivysettings.xml");
assertFalse("IvyContext should be cleared and return a default Ivy instance", IvyContext
.getContext().getIvy() == ivy2);
// finally we reuse the first instance to make another resolution
report = ivy.resolve(new File("test/repositories/1/org6/mod6.1/ivys/ivy-0.3.xml"),