We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 00f735d + ef69f6e commit 6c66a33Copy full SHA for 6c66a33
io-engine-tests/src/compose/rpc/v1.rs
@@ -51,6 +51,7 @@ pub struct RpcHandle {
51
pub host: host::HostRpcClient<Channel>,
52
pub nexus: nexus::NexusRpcClient<Channel>,
53
pub snapshot: snapshot::SnapshotRpcClient<Channel>,
54
+ pub stats: stats::StatsRpcClient<Channel>,
55
pub test: test::TestRpcClient<Channel>,
56
}
57
@@ -106,6 +107,11 @@ impl RpcHandle {
106
107
.await
108
.unwrap();
109
110
+ let stats =
111
+ stats::StatsRpcClient::connect(format!("http://{endpoint}"))
112
+ .await
113
+ .unwrap();
114
+
115
let test = test::TestRpcClient::connect(format!("http://{endpoint}"))
116
117
@@ -120,6 +126,7 @@ impl RpcHandle {
120
126
host,
121
127
nexus,
122
128
snapshot,
129
+ stats,
123
130
test,
124
131
})
125
132
0 commit comments