Skip to content

Commit

Permalink
[WFCORE-634] Intermittent failures in SSLMasterSlaveOneWayTestCase fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
OndrejKotek committed Apr 10, 2015
1 parent bae7405 commit 72378c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.conn.HttpHostConnectException;
import org.apache.http.entity.ContentType;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.BasicCredentialsProvider;
Expand Down Expand Up @@ -142,7 +141,7 @@ private static boolean isHostStateRunning(URI mgmtURI, String operation) throws
ModelNode responseNode;
try {
responseNode = executeOverHttp(mgmtURI, operation);
} catch (HttpHostConnectException ex) {
} catch (IOException ex) {
// connection refused, host is not running
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,13 @@
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

/**
* Tests one way SSL secured communication between master and slave.
*
* @author Ondrej Kotek <okotek@redhat.com>
*/
@Ignore("WFCORE-634")
public class SSLMasterSlaveOneWayTestCase extends AbstractSSLMasterSlaveTestCase {

private static final File WORK_DIR = new File("target" + File.separatorChar + "ssl-master-slave-1way-workdir");
Expand Down

0 comments on commit 72378c2

Please sign in to comment.