Add unimplemented interop test

This commit is contained in:
Lucio Franco
2019-09-11 22:44:59 -04:00
parent 702b288620
commit 306d169c91
5 changed files with 21 additions and 10 deletions
+1 -1
View File
@@ -152,6 +152,6 @@ impl pb::server::TestService for TestService {
}
async fn unimplemented_call(&self, _: Request<Empty>) -> Result<Empty> {
unimplemented!()
Err(Status::unimplemented(""))
}
}
+2 -2
View File
@@ -45,6 +45,6 @@ trap 'echo ":; killing test server"; kill ${SERVER_PID};' EXIT
./target/debug/client \
--test_case=empty_unary,large_unary,client_streaming,server_streaming,ping_pong,\
empty_stream,status_code_and_message,special_status_message $ARG
# unimplemented_method,unimplemented_service,custom_metadata
empty_stream,status_code_and_message,special_status_message,unimplemented_method $ARG
# ,unimplemented_service,custom_metadata