Skip to content

Commit

Permalink
test: fixed invalid_uri_should_fail in manager grpc (dragonflyoss#782)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Oct 16, 2024
1 parent 00f80e2 commit 34f3071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dragonfly-client/src/grpc/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
}
}
Expand Down

0 comments on commit 34f3071

Please sign in to comment.