Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2018-10-24 14:30:21 -0400
committerThomas Watson2018-10-24 15:28:27 -0400
commitb6a2eeb3e48d7905c4b6cb4f58d91f7ad2563442 (patch)
tree74631517aeb39e9b1c061488b04cb5abc791ea99
parent2e95b1f63e635616b4f27d857be821ddfa7efb60 (diff)
downloadrt.equinox.framework-b6a2eeb3e48d7905c4b6cb4f58d91f7ad2563442.tar.gz
rt.equinox.framework-b6a2eeb3e48d7905c4b6cb4f58d91f7ad2563442.tar.xz
rt.equinox.framework-b6a2eeb3e48d7905c4b6cb4f58d91f7ad2563442.zip
Debug failure in testMultiReleaseBundleManifestChangeRuntimeY20181025-0550Y20181025-0530I20181024-1800
-rw-r--r--bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/bundles/MultiReleaseJarTests.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/bundles/MultiReleaseJarTests.java b/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/bundles/MultiReleaseJarTests.java
index 0648e50ba..5fe600be7 100644
--- a/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/bundles/MultiReleaseJarTests.java
+++ b/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/bundles/MultiReleaseJarTests.java
@@ -23,6 +23,7 @@ import java.io.InputStreamReader;
import java.net.URL;
import java.nio.charset.Charset;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashMap;
@@ -776,9 +777,9 @@ public class MultiReleaseJarTests extends AbstractBundleTests {
mrBundle.start();
} finally {
equinox.stop();
- equinox.waitForStop(1000);
+ equinox.waitForStop(10000);
}
-
+ System.out.println("Equinox state: " + equinox.getState());
for (int rv = 8; rv <= 11; rv++) {
doTestMultiReleaseBundleManifestChangeRuntime(rv, configMap, location);
}
@@ -793,7 +794,7 @@ public class MultiReleaseJarTests extends AbstractBundleTests {
mrBundle.start();
} finally {
equinox.stop();
- equinox.waitForStop(1000);
+ equinox.waitForStop(10000);
}
for (int rv = 8; rv <= 11; rv++) {
@@ -823,6 +824,7 @@ public class MultiReleaseJarTests extends AbstractBundleTests {
try {
equinox.start();
BundleContext systemContext = equinox.getBundleContext();
+ System.out.println("Bundles: " + Arrays.toString(systemContext.getBundles()));
Bundle mrBundle = systemContext.getBundle(location);
assertNotNull("No mrBundle found: " + rv, mrBundle);
assertEquals("Wrong state of mrBundle: " + rv, Bundle.ACTIVE, mrBundle.getState());

Back to the top