Selenium: delete the 'try/catch' from the 'TestWorkspaceImpl' according to close issue #9556

6.19.x
Aleksandr Shmaraiev 2018-05-31 13:50:03 +03:00
parent 21e27e04bc
commit fc7c08cbc1
1 changed files with 1 additions and 6 deletions

View File

@ -23,7 +23,6 @@ import org.eclipse.che.selenium.core.client.TestWorkspaceServiceClient;
import org.eclipse.che.selenium.core.user.DefaultTestUser;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
/** @author Anatolii Bazko */
public class TestWorkspaceImpl implements TestWorkspace {
@ -73,11 +72,7 @@ public class TestWorkspaceImpl implements TestWorkspace {
LOG.error("Failed to remove workspace name='{}' when start is failed.", name);
}
if (e instanceof IllegalStateException) {
Assert.fail("Known issue https://github.com/eclipse/che/issues/9556", e);
} else {
throw new IllegalStateException(errorMessage, e);
}
throw new IllegalStateException(errorMessage, e);
}
});
}