Bug 535996 - 2 pde build test fails on all platforms with 4.9.0 I-Build:
I20180615-0655

Fix testDirectorLogging to use the new strings from p2.

Change-Id: I5204c16e2efdfd09b97515446b2fb4c56e8a3c86
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
diff --git a/org.eclipse.pde.build.tests/src/org/eclipse/pde/build/internal/tests/p2/PublishingTests.java b/org.eclipse.pde.build.tests/src/org/eclipse/pde/build/internal/tests/p2/PublishingTests.java
index 52fb7a9..6c49efe 100644
--- a/org.eclipse.pde.build.tests/src/org/eclipse/pde/build/internal/tests/p2/PublishingTests.java
+++ b/org.eclipse.pde.build.tests/src/org/eclipse/pde/build/internal/tests/p2/PublishingTests.java
@@ -1595,7 +1595,8 @@
 			assertTrue(e.getMessage().indexOf("A problem occured while invoking the director") > -1);
 		}
 
-		assertLogContainsLines(buildFolder.getFile("director.log"), new String[] { "Installation failed.",
+		assertLogContainsLines(buildFolder.getFile("director.log"), new String[] {
+				"Cannot complete the install because one or more required items could not be found.",
 				"Missing requirement: rcp.product 1.0.0.I10232 (uid.product 1.0.0.I10232) requires 'foo; bar [1.0.0,1.0.0]' but it could not be found" });
 	}