Skip to content

Commit

Permalink
Fix port conflict with Prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload committed Mar 29, 2024
1 parent 1c6d213 commit 3e24bb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quickwit/quickwit-codegen/example/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ mod tests {
let hello = HelloImpl::default();
let grpc_server_adapter = HelloGrpcServerAdapter::new(hello);
let grpc_server = HelloGrpcServer::new(grpc_server_adapter);
let addr: SocketAddr = "127.0.0.1:8888".parse().unwrap();
let addr: SocketAddr = "127.0.0.1:11111".parse().unwrap();

tokio::spawn({
async move {
Expand All @@ -564,7 +564,7 @@ mod tests {
}
});
let (balance_channel, balance_channel_tx) = BalanceChannel::new();
let channel = Endpoint::from_static("http://127.0.0.1:8888").connect_lazy();
let channel = Endpoint::from_static("http://127.0.0.1:11111").connect_lazy();
balance_channel_tx
.send(Change::Insert("foo", channel))
.unwrap();
Expand Down

0 comments on commit 3e24bb5

Please sign in to comment.