#553 - Upgrade to Spring Boot 2.3.
This commit is contained in:
@@ -25,7 +25,6 @@ import javax.net.SocketFactory;
|
|||||||
import org.junit.AssumptionViolatedException;
|
import org.junit.AssumptionViolatedException;
|
||||||
import org.junit.rules.ExternalResource;
|
import org.junit.rules.ExternalResource;
|
||||||
|
|
||||||
import com.couchbase.client.core.env.DefaultCoreEnvironment;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Rule to check Couchbase server availability. If Couchbase is not running, tests are skipped.
|
* Rule to check Couchbase server availability. If Couchbase is not running, tests are skipped.
|
||||||
@@ -44,13 +43,12 @@ public class CouchbaseAvailableRule extends ExternalResource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new rule requiring Couchbase running on {@code localhost} on
|
* Create a new rule requiring Couchbase running on {@code localhost} on {@code 8091}.
|
||||||
* {@link DefaultCoreEnvironment#BOOTSTRAP_HTTP_DIRECT_PORT}.
|
|
||||||
*
|
*
|
||||||
* @return the test rule.
|
* @return the test rule.
|
||||||
*/
|
*/
|
||||||
public static CouchbaseAvailableRule onLocalhost() {
|
public static CouchbaseAvailableRule onLocalhost() {
|
||||||
return new CouchbaseAvailableRule("localhost", DefaultCoreEnvironment.BOOTSTRAP_HTTP_DIRECT_PORT);
|
return new CouchbaseAvailableRule("localhost", 8091);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user