Search in sources :

Example 1 with CouchbaseTestServer

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();
}
Also used : CouchbaseTestServer(org.apache.gobblin.couchbase.CouchbaseTestServer) BeforeSuite(org.testng.annotations.BeforeSuite)

Aggregations

CouchbaseTestServer (org.apache.gobblin.couchbase.CouchbaseTestServer)1 BeforeSuite (org.testng.annotations.BeforeSuite)1