diff --git a/plugins/com.google.cloud.tools.eclipse.integration.appengine/src/com/google/cloud/tools/eclipse/integration/appengine/DebugNativeAppEngineStandardProjectTest.java b/plugins/com.google.cloud.tools.eclipse.integration.appengine/src/com/google/cloud/tools/eclipse/integration/appengine/DebugNativeAppEngineStandardProjectTest.java index 3abfffbd30..84b13017d8 100644 --- a/plugins/com.google.cloud.tools.eclipse.integration.appengine/src/com/google/cloud/tools/eclipse/integration/appengine/DebugNativeAppEngineStandardProjectTest.java +++ b/plugins/com.google.cloud.tools.eclipse.integration.appengine/src/com/google/cloud/tools/eclipse/integration/appengine/DebugNativeAppEngineStandardProjectTest.java @@ -104,6 +104,13 @@ public void run() { SwtBotTreeUtilities.waitUntilTreeHasItems(bot, launchTree); SWTBotTreeItem[] allItems = launchTree.getAllItems(); SwtBotTreeUtilities.waitUntilTreeHasText(bot, allItems[0]); + + // Log debug info for https://github.com/GoogleCloudPlatform/google-cloud-eclipse/issues/1897 + if (!allItems[0].getText().contains("App Engine Standard at localhost")) { + for (SWTBotTreeItem treeItem : allItems) { + System.out.println(" [GitHub #1897 debug info] " + treeItem); + } + } assertTrue("No App Engine launch found", allItems[0].getText().contains("App Engine Standard at localhost")); @@ -149,7 +156,7 @@ private void assertNoService(URL url) { /** * Read the content as a string from the specified URL. - * + * * @throws IOException if cannot connect or timeout */ private static String getUrlContents(URL url, int timeoutInMilliseconds) throws IOException {