Unverified Commit f05f7629 authored by Graham King's avatar Graham King Committed by GitHub
Browse files

chore: Make nats_client private at crate level, various tidy up (#4513)


Signed-off-by: default avatarGraham King <grahamk@nvidia.com>
parent 27904535
......@@ -636,7 +636,7 @@ mod integration_tests {
// Now create a namespace, component, and endpoint to make the system healthy
let namespace = drt.namespace("ns1234").unwrap();
let mut component = namespace.component("comp1234").unwrap();
let component = namespace.component("comp1234").unwrap();
// Create a simple test handler
use crate::pipeline::{async_trait, network::Ingress, AsyncEngine, AsyncEngineContextProvider, Error, ManyOut, SingleIn};
......@@ -662,7 +662,6 @@ mod integration_tests {
// Start the service and endpoint with a health check payload
// This will automatically register the endpoint for health monitoring
tokio::spawn(async move {
component.add_stats_service().await.unwrap();
let _ = component.endpoint(ENDPOINT_NAME)
.endpoint_builder()
.handler(ingress)
......
......@@ -120,8 +120,7 @@ mod integration {
// // make the ingress discoverable via a component service
// // we must first create a service, then we can attach one more more endpoints
let mut component = runtime.namespace(DEFAULT_NAMESPACE)?.component("backend")?;
component.add_stats_service().await?;
let component = runtime.namespace(DEFAULT_NAMESPACE)?.component("backend")?;
component
.endpoint("generate")
.endpoint_builder()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment