use of com.yahoo.vespa.config.server.monitoring.Metrics in project vespa by vespa-engine.
the class TenantRequestHandlerTest method setUp.
@Before
public void setUp() throws IOException, SAXException {
feedApp(app1, 1);
Metrics sh = Metrics.createTestMetrics();
List<ReloadListener> listeners = new ArrayList<>();
listeners.add(listener);
server = new TenantRequestHandler(sh, tenant, listeners, new UncompressedConfigResponseFactory(), new HostRegistries());
componentRegistry = new TestComponentRegistry.Builder().curator(curator).modelFactoryRegistry(createRegistry()).build();
}
Aggregations