mirror of https://github.com/apache/cloudstack.git
Merge pull request #752 from ustcweizhou/BasicRestClientTest-fakelocalhost
use fakelocalhost in BasicRestClientTestBasicRestClientTest will fail if the port 443 is open on localhost. use fakelocalhost instead of localhost can fix it. Please see the latest discussion in https://github.com/apache/cloudstack/pull/737 * pr/752: use fakelocalhost in BasicRestClientTest Signed-off-by: Rajani Karuturi <rajani.karuturi@citrix.com>
This commit is contained in:
commit
f5a7395cc2
|
|
@ -41,7 +41,7 @@ import org.junit.Test;
|
|||
|
||||
public class BasicRestClientTest {
|
||||
|
||||
private static final String LOCALHOST = "localhost";
|
||||
private static final String LOCALHOST = "fakelocalhost";
|
||||
private static final String HTTPS = HttpConstants.HTTPS;
|
||||
|
||||
private static final StatusLine HTTP_200_REPSONSE = new BasicStatusLine(new ProtocolVersion(HTTPS, 1, 1), 200, "OK");
|
||||
|
|
|
|||
Loading…
Reference in New Issue