test: fixed invalid_uri_should_fail in manager grpc (#782)

Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
Gaius 2024-10-16 10:39:51 +08:00 committed by GitHub
parent 00f80e29a8
commit 34f3071e83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ mod tests {
let result = ManagerClient::new(Arc::new(Config::default()), addr).await; let result = ManagerClient::new(Arc::new(Config::default()), addr).await;
assert!(result.is_err()); assert!(result.is_err());
match result { match result {
Err(e) => assert_eq!(e.to_string(), "available manager not found"), Err(e) => assert_eq!(e.to_string(), "invalid parameter"),
_ => panic!("unexpected error"), _ => panic!("unexpected error"),
} }
} }