void startRpcServer(RpcServer rpcServer, TenantRepository tenantRepository, Spec spec)  {
        hostRegistry.update(applicationId, List.of("localhost"));
        rpcServer.onTenantCreate(tenantRepository.getTenant(tenantName));
        t = new Thread(rpcServer);
        t.start();
        sup = new Supervisor(new Transport());
        pingServer(spec);
    }
Tester for running rpc server.

@author Ulf Lilleengen
configserver/src/test/java/com/yahoo/vespa/config/server/rpc/RpcTester.java