fix(tonic): change connect_lazy to be infallible (#712)
Co-authored-by: Lucio Franco <[email protected]>
This commit is contained in:
co-authored by
Lucio Franco
parent
53ecc1f85e
commit
2e471548d8
@@ -63,9 +63,7 @@ async fn connect_lazy_reconnects_after_first_failure() {
|
||||
let sender = Arc::new(Mutex::new(Some(tx)));
|
||||
let svc = test_server::TestServer::new(Svc(sender));
|
||||
|
||||
let channel = Endpoint::from_static("http://127.0.0.1:1339")
|
||||
.connect_lazy()
|
||||
.unwrap();
|
||||
let channel = Endpoint::from_static("http://127.0.0.1:1339").connect_lazy();
|
||||
|
||||
let mut client = TestClient::new(channel);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user