Search in sources :

Example 1 with TransactionLogServer

use of com.yahoo.vespa.model.search.TransactionLogServer in project vespa by vespa-engine.

the class SearchNodeTest method prepare.

private void prepare(MockRoot root, SearchNode node) {
    Host host = new Host(root, "mockhost");
    TransactionLogServer tls = new TransactionLogServer(root, "mycluster");
    tls.setHostResource(new HostResource(host));
    tls.setBasePort(100);
    tls.initService();
    node.setTls(tls);
    node.setHostResource(new HostResource(host));
    node.setBasePort(200);
    node.initService();
    root.freezeModelTopology();
}
Also used : HostResource(com.yahoo.vespa.model.HostResource) TransactionLogServer(com.yahoo.vespa.model.search.TransactionLogServer) Host(com.yahoo.vespa.model.Host)

Aggregations

Host (com.yahoo.vespa.model.Host)1 HostResource (com.yahoo.vespa.model.HostResource)1 TransactionLogServer (com.yahoo.vespa.model.search.TransactionLogServer)1