Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2015-04-01 13:51:09 +0000
committerPascal Rapicault2015-04-01 13:51:09 +0000
commit1ad9af0f2907088ca0343521c527a0cb511f02d8 (patch)
tree57ff44cc2311af22af511eeae4f89d8f457756f3 /bundles
parentf130a7a596c2bc3c95c2068649da575ff14c93d8 (diff)
downloadrt.equinox.p2-1ad9af0f2907088ca0343521c527a0cb511f02d8.tar.gz
rt.equinox.p2-1ad9af0f2907088ca0343521c527a0cb511f02d8.tar.xz
rt.equinox.p2-1ad9af0f2907088ca0343521c527a0cb511f02d8.zip
Collect more information to help track failures of the
AbstractReconcilerTest on the build machine
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
index f15f05412..b2ff2ce40 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
@@ -225,8 +225,12 @@ public class AbstractReconcilerTest extends AbstractProvisioningTest {
} else {
file = new File(property);
}
+ StringBuffer detailedMessage = new StringBuffer(600);
+ detailedMessage.append(" propertyToPlatformArchive was ").append(propertyToPlatformArchive == null ? " not set " : propertyToPlatformArchive).append('\n');
+ detailedMessage.append(" org.eclipse.equinox.p2.reconciler.tests.platform.archive was ").append(property == null ? " not set " : property).append('\n');
+ detailedMessage.append(" install location is ").append(getInstallLocation()).append('\n');
String message = "Need to set the \"org.eclipse.equinox.p2.reconciler.tests.platform.archive\" system property with a valid path to the platform binary drop or copy the archive to be a sibling of the install folder.";
- assertNotNull(message, file);
+ assertNotNull(message + "\n" + detailedMessage, file);
assertTrue(message, file.exists());
assertTrue("File is zero length: " + file.getAbsolutePath(), file.length() > 0);
return file;

Back to the top