Skip to content

Commit

Permalink
Fix LocalRepositoryCrosstalkTest
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Oct 24, 2023
1 parent a62ffa0 commit ea019a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void test()
Bundle equinox = getBundle( "org.eclipse.osgi");

assertEquals( 3, equinox.getVersion().getMajor() );
assertEquals( 12, equinox.getVersion().getMinor() );
assertEquals( 13, equinox.getVersion().getMinor() );
}

public Bundle getBundle( String id )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@
public class LocalRepositoryCrosstalkTest extends AbstractTychoIntegrationTest {
@Test
public void test() throws Exception {
// run e352 test first
// run bundle 2 test first with latest eclipse
Verifier v01 = getVerifier("/TYCHO0367localRepositoryCrosstalk/bundle02", false);
v01.addCliOption("-Dp2.repo=" + P2Repositories.ECLIPSE_LATEST.toString());
v01.executeGoal("install");
v01.verifyErrorFreeLog();

// now run e342 test, it should not "see" e352 artifacts in local repo
// now run bundle1 test, it should not "see" artifacts in local repo from newer
// update site
Verifier v02 = getVerifier("/TYCHO0367localRepositoryCrosstalk/bundle01", false);
v02.addCliOption("-Dp2.repo=" + P2Repositories.ECLIPSE_OXYGEN.toString());
v02.addCliOption("-Dp2.repo=https:////download.eclipse.org/releases/photon/");
v02.executeGoal("install");
v02.verifyErrorFreeLog();
}
Expand Down

0 comments on commit ea019a6

Please sign in to comment.