test: fixed invalid_uri_should_fail in manager grpc (#782)
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
00f80e29a8
commit
34f3071e83
|
|
@ -140,7 +140,7 @@ mod tests {
|
|||
let result = ManagerClient::new(Arc::new(Config::default()), addr).await;
|
||||
assert!(result.is_err());
|
||||
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"),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue