#553 - Upgrade to Spring Boot 2.3.

This commit is contained in:
Mark Paluch
2020-05-11 10:51:03 +02:00
parent f59316b66a
commit c3c1bc6884

View File

@@ -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