use of org.apache.gobblin.couchbase.CouchbaseTestServer in project incubator-gobblin by apache.
the class CouchbaseWriterTest method startServers.
@BeforeSuite
public void startServers() {
_couchbaseTestServer = new CouchbaseTestServer(TestUtils.findFreePort());
_couchbaseTestServer.start();
_couchbaseEnvironment = DefaultCouchbaseEnvironment.builder().bootstrapHttpEnabled(true).bootstrapHttpDirectPort(_couchbaseTestServer.getPort()).bootstrapCarrierDirectPort(_couchbaseTestServer.getServerPort()).bootstrapCarrierEnabled(false).kvTimeout(10000).build();
}
Aggregations