remove read 'preferences' in try/catch block (#8463)

6.19.x
Igor Ohrimenko 2018-01-26 09:51:52 +02:00 committed by GitHub
parent 507ffaaaa5
commit 467bf564be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 11 deletions

View File

@ -37,9 +37,6 @@ import org.testng.annotations.Test;
* @author Andrey Chizhikov
*/
public class CreateNewPackagesWithHelpCreationJavaClassTest {
private static final Logger LOG =
LoggerFactory.getLogger(CreateNewPackagesWithHelpCreationJavaClassTest.class);
private static final String PROJECT_NAME =
CreateNewPackagesWithHelpCreationJavaClassTest.class.getSimpleName();
private static final String NEW_PACKAGE_NAME1 = "tu";
@ -102,17 +99,9 @@ public class CreateNewPackagesWithHelpCreationJavaClassTest {
try {
projectExplorer.waitItemInVisibleArea("TestClass2.java");
} catch (TimeoutException ex) {
LOG.info(getPreferences());
// remove try-catch block after issue has been resolved
fail("Known issue https://github.com/eclipse/che/issues/8122");
}
}
private String getPreferences() throws Exception {
return httpJsonRequestFactory
.fromUrl(testApiEndpointUrlProvider.get() + "preferences")
.useGetMethod()
.request()
.asString();
}
}